fixed updater script

This commit is contained in:
naturallaw77 2024-03-13 18:19:08 -07:00
parent da85ef9374
commit 584c30a52f

View File

@ -19,7 +19,7 @@ time_stamp=$(date +%Y-%m-%d-%T)
mkdir -p /home/free/Documents/Updater_App_Logs
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure &> /home/free/Documents/Updater_App_Logs/'$time_stamp'_Updater_Log.txt' ; then
if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure' ; then
zenity --error \
--width=400 \