1
0
Fork 0
mirror of synced 2024-10-31 16:29:02 -04:00

Remove prompt

This commit is contained in:
TNE 2021-07-20 07:21:59 +00:00
parent 2727cd113b
commit 47bf569865
2 changed files with 2 additions and 8 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=1.4.4 pkgver=1.4.5
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"

View file

@ -3,13 +3,7 @@ set -e
# Run the "I'm too lazy to fix it myself all in one" script # Run the "I'm too lazy to fix it myself all in one" script
if [ "$1" == "remote" ]; then if [ "$1" == "remote" ]; then
echo "This will reset a lot of configurations to default ones - it is intended to be a oneclick fix for all kind of update issues. 🛑"
echo "Are you sure that you want to execute the remote update? (y/n)"
echo "Otherwise we will proceed with the regular update."
read yusure
if [ $yusure = "y" ]; then
exec sudo bash -c "VERSION=1 . <(wget -qO- https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-common-settings/-/snippets/2147440/raw/main/remote-update) \"$2\"" exec sudo bash -c "VERSION=1 . <(wget -qO- https://gitlab.com/garuda-linux/themes-and-settings/settings/garuda-common-settings/-/snippets/2147440/raw/main/remote-update) \"$2\""
fi
fi fi
# Check for AUR helper # Check for AUR helper