This commit is contained in:
t470p
2024-05-11 20:00:35 -05:00
parent 0655098ba3
commit 2f13896f79

View File

@@ -16,14 +16,19 @@ if [ $# -lt 1 ]; then
fi fi
operation=$1 operation=$1
clone_trg=/tmp options_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${HOSTNAME}/options.sh
source ${clone_trg}/lnx-arch/dots/archinstall/${HOSTNAME}/options.sh options_trg=/tmp/options.sh
rm -rf ${options_trg}
rm -rf ${options_trg}.tmp
wget -q ${options_url} -O ${options_trg}
source ${options_trg}
if [ -z "${OPTIONS_LOADED}" ]; then if [ -z "${OPTIONS_LOADED}" ]; then
echo "error: unable to load options" echo "error: unable to load options"
exit 1 exit 1
fi fi
user=${USER} user=${USER}
clone_trg=/tmp
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ # ~ ~ ~ ~ ~ ~ ~ ~ ~ ~