From 257832c3080914d8a167f915535f1c0cba2b1fd0 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Wed, 6 Dec 2023 12:06:58 -0800 Subject: [PATCH] Update Nixpkgs --- Update_Sovran_SystemsOS_Helper.sh | 41 +++++++++++++++++++++++++++++++ flake.lock | 6 ++--- 2 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 Update_Sovran_SystemsOS_Helper.sh diff --git a/Update_Sovran_SystemsOS_Helper.sh b/Update_Sovran_SystemsOS_Helper.sh new file mode 100644 index 0000000..19c12f8 --- /dev/null +++ b/Update_Sovran_SystemsOS_Helper.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +curl "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Intro.md" | + +zenity --text-info \ + --width=1000 \ + --height=700 \ + --title="Sovran_SystemsOS Updater" + + +if [[ $? -eq 1 ]]; then + + exit 1 + +else + + +cd /home/free/Downloads + +wget "https://git.sovransystems.com/Sovran_Systems/Software/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Source%20Files/Update_Sovran_SystemsOS_Helper.sh" + +if ! ssh root@localhost 'bash /home/free/Downloads/Update_Sovran_SystemsOS_Helper.sh | zenity --progress --no-cancel --pulsate --auto-close --width=500 --title="Sovran_SystemsOS_Reseter" --text="Please Wait. Passwords Are Being Reset. This May Take Some Time..."' ; then + + zenity --error \ + --title="Sovran_SystemsOS Updater" \ + --text="Could Not Log In" + + exit 1 + +fi + +rm -rf /home/free/Downloads/Master_Passwords_Reset_Root.sh + +zenity --info \ + --ellipsize \ + --no-wrap \ + --width=400 \ + --title="Sovran_SystemsOS Updater" \ + --text="Yay Complete! Please Reboot When You Are Ready." + +exit 0 \ No newline at end of file diff --git a/flake.lock b/flake.lock index 3bbc4b7..90c62d9 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1701253981, - "narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=", + "lastModified": 1701436327, + "narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58", + "rev": "91050ea1e57e50388fa87a3302ba12d188ef723a", "type": "github" }, "original": {