From a64dd997059671a6220a46443edbe5338694c0c5 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" Date: Mon, 11 Mar 2024 14:15:30 +0530 Subject: [PATCH] =?UTF-8?q?@eshanized=20pushed=20another=20commit=20via=20?= =?UTF-8?q?script=20=F0=9F=94=A5=F0=9F=94=A5=F0=9F=94=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/snigdhaos-updater/remote | 2 +- common/snigdhaos-updater/snigdhaos-updater | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common/snigdhaos-updater/remote b/common/snigdhaos-updater/remote index 1fcf9d88..530fbfed 100644 --- a/common/snigdhaos-updater/remote +++ b/common/snigdhaos-updater/remote @@ -38,7 +38,7 @@ elif [ "$task" == "reinstall" ]; then [ $yusure != "y" ] && exit 1 internal_update=2 elif [ "$task" == "reset-snapper" ]; then - exec bash -c ". <(wget -qO- https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-common-settings/-/snippets/2147440/raw/main/reset-snapper)" + exec bash -c ". <(wget -qO- https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-pkgbuilds/master/common/snigdhaos-updater/reset-snapper)" elif [ "$task" == "reset-audio" ]; then internal_update=0 else diff --git a/common/snigdhaos-updater/snigdhaos-updater b/common/snigdhaos-updater/snigdhaos-updater index 186cfe78..93f51ab6 100644 --- a/common/snigdhaos-updater/snigdhaos-updater +++ b/common/snigdhaos-updater/snigdhaos-updater @@ -42,7 +42,10 @@ if [[ $EUID -ne 0 ]]; then exit 1 fi -# Remote update [shx1001] +if [ "$1" == "remote" ]; then + exec bash -c "VERSION=6 . <(wget -qO- https://raw.githubusercontent.com/Snigdha-OS/snigdhaos-pkgbuilds/master/common/snigdhaos-updater/remote) \"\$@\"" remote "${@:2}" +fi + if [ -n "$PACMAN_EXE" ]; then PACMAN="$PACMAN_EXE"