Skip to content

Commit

Permalink
Fix update feature of script for impermanence
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZaney committed Mar 1, 2024
1 parent e6b29cf commit 3349266
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions install-zaneyos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ backupname=$(date "+%Y-%m-%d-%H-%M-%S")
if [ -d "zaneyos" ]; then
echo "ZaneyOS exists, backing up to .config/zaneyos-backups folder."
if [ -d ".config/zaneyos-backups" ]; then
mv zaneyos .config/zaneyos-backups/$backupname
echo "Moved current version of ZaneyOS to backups folder."
echo "Moving current version of ZaneyOS to backups folder."
sudo umount $HOME/zaneyos
sudo mv $HOME/zaneyos .config/zaneyos-backups/$backupname
sleep 1
else
echo "Creating the backups folder & moving ZaneyOS to it."
mkdir .config/zaneyos-backups
mv zaneyos .config/zaneyos-backups/$backupname
echo "Created the backups folder and moved current version of ZaneyOS to it."
sudo umount $HOME/zaneyos
sudo mv $HOME/zaneyos .config/zaneyos-backups/$backupname
sleep 1
fi
else
Expand Down
4 changes: 2 additions & 2 deletions options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ in {

# Enable Terminals
# If You Disable All You Get Kitty
wezterm = true;
wezterm = false;
alacritty = false;
kitty = true;

# Enable Python & PyCharm
python = false;

# Enable SyncThing
syncthing = true;
syncthing = false;

}

0 comments on commit 3349266

Please sign in to comment.