3092bb2d71
While at it, also change name of local repo to pkgs-for-tmplate (was yum_repo_qubes).
16 lines
253 B
Bash
Executable File
16 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Setup env variables
|
|
|
|
SCRIPTSDIR=$TEMPLATE_SCRIPTS
|
|
if [ ! -d "$SCRIPTSDIR" ]; then
|
|
echo "Scripts directory $SCRIPTSDIR does not exists"
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "$CACHEDIR" ]; then
|
|
CACHEDIR=cache_$DIST
|
|
fi
|
|
|
|
export SCRIPTSDIR CACHEDIR
|