Start of changing to temporary directories as base

This commit is contained in:
exu 2023-12-08 18:19:01 +01:00
parent ad1a7afdd9
commit 67ec900d85

View File

@ -55,10 +55,15 @@ scriptloc="$BASH_SOURCE"
scriptpath="$(dirname "$scriptloc")" scriptpath="$(dirname "$scriptloc")"
# change to home # change to home
cd "$HOME" #cd "$HOME"
# remove old installs # remove old installs
rm -rf ~/configs #rm -rf ~/configs
# Use temporary directory for download
# FIXME probably lots of issues at first
tempdir="$(mktemp -d)"
cd "$tempdir"
echo "Checking config file" echo "Checking config file"