mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 13:52:56 +00:00
add tests for downloading archive from kopano download server (#311)
* 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>
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user