updated light updater

This commit is contained in:
naturallaw77 2023-12-12 14:43:14 -08:00
parent 05ba7e15e6
commit 1300ddeaf1

View File

@ -24,16 +24,7 @@ if ! echo $PASSWORD | cd /etc/nixos && sudo -S nix flake update ; then
fi fi
if ! echo $PASSWORD | sudo -S nixos-rebuild switch --impure ; then if echo $PASSWORD | xterm -T "Sovran_SystemsOS_Light Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "sudo -S nixos-rebuild switch" ; then
zenity --error \
--width=400 \
--title="Sovran_SystemsOS_Light Updater" \
--text="Could not complete the NixOS update."
exit 1
else
zenity --info \ zenity --info \
--ellipsize \ --ellipsize \