updated light updater
This commit is contained in:
parent
05ba7e15e6
commit
1300ddeaf1
@ -24,16 +24,7 @@ if ! echo $PASSWORD | cd /etc/nixos && sudo -S nix flake update ; then
|
||||
|
||||
fi
|
||||
|
||||
if ! echo $PASSWORD | sudo -S nixos-rebuild switch --impure ; then
|
||||
|
||||
zenity --error \
|
||||
--width=400 \
|
||||
--title="Sovran_SystemsOS_Light Updater" \
|
||||
--text="Could not complete the NixOS update."
|
||||
|
||||
exit 1
|
||||
|
||||
else
|
||||
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 --info \
|
||||
--ellipsize \
|
||||
|
Loading…
Reference in New Issue
Block a user