Compare commits

...

2 Commits

Author SHA1 Message Date
exu
afbce1bffb Specify branch for download 2023-12-08 18:19:36 +01:00
exu
67ec900d85 Start of changing to temporary directories as base 2023-12-08 18:19:01 +01:00

View File

@ -55,15 +55,20 @@ 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"
#clone this repo #clone this repo
git clone https://gitea.exu.li/realstickman/configs.git &>/dev/null git clone -b temporary-dir https://gitea.exu.li/realstickman/configs.git &>/dev/null
# check if the install scripts are the same # check if the install scripts are the same
# NOTE Arguments get passed automatically now # NOTE Arguments get passed automatically now