update updater script
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| #!/usr/bin/env bash | #!/usr/bin/env bash | ||||||
|  |  | ||||||
| FLATPAK () { | FLATPAK () { | ||||||
| if ! ssh root@localhost flatpak update -y ; then | if ! ssh root@localhost 'flatpak update -y' ; then | ||||||
|  |  | ||||||
| 	zenity --error \ | 	zenity --error \ | ||||||
| 	--title="Sovran_SystemsOS Updater" \ | 	--title="Sovran_SystemsOS Updater" \ | ||||||
| @@ -19,7 +19,7 @@ time_stamp=$(date +%Y-%m-%d-%T) | |||||||
|  |  | ||||||
| mkdir -p /home/free/Documents/Updater_App_Logs | mkdir -p /home/free/Documents/Updater_App_Logs | ||||||
|  |  | ||||||
| if ! ssh root@localhost cd /etc/nixos && nix flake update && nixos-rebuild switch --impure ; then | if ! ssh root@localhost 'cd /etc/nixos && nix flake update && nixos-rebuild switch --impure' ; then | ||||||
|  |  | ||||||
| 	zenity --error \ | 	zenity --error \ | ||||||
| 	--width=400 \ | 	--width=400 \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user