mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2025-01-23 12:48:35 +01:00
moving the files should not require sudo
This commit is contained in:
parent
15052be29b
commit
a2f5c7da16
@ -28,12 +28,12 @@ if [ -d "zaneyos" ]; then
|
||||
echo "ZaneyOS exists, backing up to .config/zaneyos-backups folder."
|
||||
if [ -d ".config/zaneyos-backups" ]; then
|
||||
echo "Moving current version of ZaneyOS to backups folder."
|
||||
sudo mv $HOME/zaneyos .config/zaneyos-backups/$backupname
|
||||
mv $HOME/zaneyos .config/zaneyos-backups/$backupname
|
||||
sleep 1
|
||||
else
|
||||
echo "Creating the backups folder & moving ZaneyOS to it."
|
||||
mkdir .config/zaneyos-backups
|
||||
sudo mv $HOME/zaneyos .config/zaneyos-backups/$backupname
|
||||
mv $HOME/zaneyos .config/zaneyos-backups/$backupname
|
||||
sleep 1
|
||||
fi
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user