From 10851a46d10ff15cc5b79e335dcddf97027a860f Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Mon, 22 May 2023 14:31:06 -0700 Subject: [PATCH] Rename --- .../Update Sovran_SystemsOS | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100755 Sovran_SystemsOS_Updater/Update Sovran_SystemsOS diff --git a/Sovran_SystemsOS_Updater/Update Sovran_SystemsOS b/Sovran_SystemsOS_Updater/Update Sovran_SystemsOS deleted file mode 100755 index 0081d88..0000000 --- a/Sovran_SystemsOS_Updater/Update Sovran_SystemsOS +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -password=$(zenity --password --title="Sovran_SystemsOS Updater") - - if [ $? -eq 1 ] ; then - - zenity --error \ - --text="Update canceled." - - exit 1 - - else - - zenity --info \ - --ellipsize \ - --no-wrap \ - --title="Sovran_SystemsOS Updater" \ - --text="$( echo -e "$password" | sudo -S rsync -av /home/free/Documents/Sovran\ Systems/My\ NixOS\ Laptop/configuration.nix /etc/nixos/configuration.nix)" - - pushd /etc/nixos/ - - echo -e $password | sudo -S nix flake update - - popd - - echo -e $password | sudo -S nixos-rebuild switch --impure | zenity --progress --no-cancel --auto-close --pulsate --title="Sovran_SystemsOS Updater" - - zenity --info \ - --ellipsize \ - --no-wrap \ - --title="Sovran_SystemsOS Updater" \ - --text="Complete! Please Reboot." - - fi - -exit 0 \ No newline at end of file