Compare commits
2 Commits
ad1a7afdd9
...
afbce1bffb
Author | SHA1 | Date | |
---|---|---|---|
afbce1bffb | |||
67ec900d85 |
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user