qubes-linux-template-builder/builder_setup
Marek Marczykowski-Górecki 3092bb2d71 Add support for plugins, move all distribution-specific code there
While at it, also change name of local repo to pkgs-for-tmplate (was
yum_repo_qubes).
2015-03-10 23:57:13 +01:00

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