From 05ba7e15e66131e2ebd00d3c4b484c2a5796faa6 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Tue, 12 Dec 2023 14:38:51 -0800 Subject: [PATCH] updated light updater --- .../Update_Sovran_SystemsOS_Light.sh | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh b/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh index 6224588..68e3810 100755 --- a/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh +++ b/Sovran_SystemsOS_Light_Updater/Updater Source Files/Update_Sovran_SystemsOS_Light.sh @@ -2,7 +2,7 @@ PASSWORD=$(zenity --password --title="User Password") -FLATPAK () { +HOME () { if ! echo $PASSWORD | sudo -S flatpak update -y ; then zenity --error \ @@ -13,20 +13,6 @@ if ! echo $PASSWORD | sudo -S flatpak update -y ; then fi -} - -HOME () { -if ! echo $PASSWORD | sudo -S timeout nixos-rebuild switch --impure ; then - - zenity --error \ - --width=400 \ - --title="Sovran_SystemsOS_Light Updater" \ - --text="Could not complete the NixOS update." - - exit 1 - -fi - if ! echo $PASSWORD | cd /etc/nixos && sudo -S nix flake update ; then zenity --error \ @@ -73,8 +59,6 @@ exit 1 else -FLATPAK | zenity --progress --no-cancel --auto-close --width=660 --pulsate --text="Updating Flatpaks now." - HOME | zenity --progress --no-cancel --auto-close --width=660 --pulsate --text="Updating Sovran_SystemsOS now. In rare cases, it could take up to 3 hours. Please be patient..." --title="Sovran_SystemsOS_Light Updater" fi