updated both updaters with new error notification
This commit is contained in:
parent
4f1792691b
commit
061cf6b578
@ -16,6 +16,17 @@ fi
|
||||
}
|
||||
|
||||
HOME () {
|
||||
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
|
||||
|
||||
if
|
||||
|
||||
if ! echo $PASSWORD | cd /etc/nixos && sudo -S nix flake update ; then
|
||||
|
||||
zenity --error \
|
||||
|
Loading…
Reference in New Issue
Block a user