u
This commit is contained in:
@@ -16,12 +16,6 @@ if [ $# -lt 1 ]; then
|
||||
fi
|
||||
operation=$1
|
||||
|
||||
clone_trg=${CLONE_TARGET_DIR} # value found in options.sh file, sourced above
|
||||
if [[ -z "${clone_trg}" ]] ; then
|
||||
echo "error: CLONE_TARGET_DIR is empty"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
options_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${HOSTNAME}/options.sh
|
||||
options_trg=/tmp/options.sh
|
||||
rm -rf ${options_trg}
|
||||
@@ -33,6 +27,12 @@ if [ -z "${OPTIONS_LOADED}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
clone_trg=${CLONE_TARGET_DIR} # value found in options.sh file, sourced above
|
||||
if [[ -z "${clone_trg}" ]] ; then
|
||||
echo "error: CLONE_TARGET_DIR is empty"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
secrets_cred_path=/home/${USER}/syncDir/secrets/toBeSources/cred.sh
|
||||
source ${secrets_cred_path}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user