updated updater
This commit is contained in:
parent
6f068de54e
commit
6649a696c0
@ -1,8 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
link=$(curl https://git.sovransystems.com/Sovran_Systems/Sovran_Systems_Packages/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Files/Intro_Info)
|
||||
|
||||
zenity --text-info \
|
||||
--filename="$(curl https://git.sovransystems.com/Sovran_Systems/Sovran_Systems_Packages/raw/branch/main/Sovran_SystemsOS_Updater/Updater%20Files/Intro_Info)" \
|
||||
--filename="$link" \
|
||||
--title="Sovran_SystemsOS Updater" \
|
||||
--width=850 \
|
||||
--height=730 \
|
||||
@ -34,12 +36,12 @@ password=$(zenity --password --title="Sovran_SystemsOS Updater")
|
||||
|
||||
pushd /etc/nixos/
|
||||
|
||||
echo -e $password | sudo -S nix flake update
|
||||
echo -e "$password" | sudo -S nix flake update
|
||||
|
||||
popd
|
||||
|
||||
|
||||
echo -e $password | sudo -S nixos-rebuild switch --impure |
|
||||
echo -e "$password" | sudo -S nixos-rebuild switch --impure |
|
||||
zenity --progress \
|
||||
--no-cancel \
|
||||
--auto-close \
|
||||
|
Loading…
Reference in New Issue
Block a user