Start of changing to temporary directories as base
This commit is contained in:
parent
ad1a7afdd9
commit
67ec900d85
@ -55,10 +55,15 @@ scriptloc="$BASH_SOURCE"
|
||||
scriptpath="$(dirname "$scriptloc")"
|
||||
|
||||
# change to home
|
||||
cd "$HOME"
|
||||
#cd "$HOME"
|
||||
|
||||
# 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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user