mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-07 16:06:14 +00:00
* add tests for downloading archive from kopano download server add some makefile defaults Signed-off-by: Felix Bartels <felix@host-consultants.de> * linting Signed-off-by: Felix Bartels <felix@host-consultants.de>
21 lines
395 B
Bash
Executable File
21 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
DEBUG=true
|
|
WORK_DIR=$(mktemp -d)
|
|
component=${1:-core}
|
|
|
|
function cleanup {
|
|
rm -rf "$WORK_DIR"
|
|
echo "Deleted temp working directory $WORK_DIR"
|
|
}
|
|
|
|
trap cleanup EXIT
|
|
|
|
cd "$WORK_DIR"
|
|
# shellcheck source=base/create-kopano-repo.sh
|
|
. "$DIR"/create-kopano-repo.sh
|
|
dl_and_package_community "$component"
|