update updater script
This commit is contained in:
parent
32e073bd20
commit
35181a20e9
@ -16,7 +16,11 @@ fi
|
||||
|
||||
SPICE () {
|
||||
|
||||
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure | xterm' ; then
|
||||
time_stamp=$(date +%Y-%m-%d-%T)
|
||||
|
||||
mkdir -p /home/free/Documents/Updater_App_Logs
|
||||
|
||||
if ! xterm -T "Sovran_SystemsOS_Light Updater" -fa 'Noto Mono' -fs 15 -fg white -bg black -e bash -c "ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure'" ; then
|
||||
|
||||
zenity --error \
|
||||
--width=400 \
|
||||
|
Reference in New Issue
Block a user