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"