updated light updater
This commit is contained in:
parent
11f4f9c91d
commit
481a591773
@ -24,12 +24,18 @@ if ! echo $PASSWORD | cd /etc/nixos && sudo -S nix flake update ; then
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xterm -T "Sovran_SystemsOS_Light Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "PASSWORD=$(zenity --password --title="User Password") Z1=$(zenity --error --width=400 --title="Sovran_SystemsOS_Light Updater" --text="Could not complete the Nix Flake update.") Z2=$(zenity --info \
|
xterm -T "Sovran_SystemsOS_Light Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "PASSWORD=$(zenity --password --title="User Password")
|
||||||
|
|
||||||
|
Z1=$(zenity --error --width=400 --title="Sovran_SystemsOS_Light Updater" --text="Could not complete the NixOS update.")
|
||||||
|
|
||||||
|
Z2=$(zenity --info \
|
||||||
--ellipsize \
|
--ellipsize \
|
||||||
--no-wrap \
|
--no-wrap \
|
||||||
--width=500 \
|
--width=500 \
|
||||||
--title="Sovran_SystemsOS_Light Updater" \
|
--title="Sovran_SystemsOS_Light Updater" \
|
||||||
--text="Yay complete! Please reboot when you are ready.") if ! echo $PASSWORD | sudo -S nixos-rebuild switch ; then
|
--text="Yay complete! Please reboot when you are ready.")
|
||||||
|
|
||||||
|
if ! echo $PASSWORD | sudo -S nixos-rebuild switch ; then
|
||||||
|
|
||||||
$Z1
|
$Z1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user