From 47bf569865ec16d3d241b469e8e10b7d1b184f3d Mon Sep 17 00:00:00 2001 From: TNE <2370061-TotallyNotElite@users.noreply.gitlab.com> Date: Tue, 20 Jul 2021 07:21:59 +0000 Subject: [PATCH] Remove prompt --- PKGBUILD | 2 +- usr/bin/update | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 1d5ed2b..6fbe124 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ # Maintainer: Librewish pkgname=garuda-common-settings -pkgver=1.4.4 +pkgver=1.4.5 pkgrel=1 arch=('any') url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" diff --git a/usr/bin/update b/usr/bin/update index 6bc77b7..43e88bc 100755 --- a/usr/bin/update +++ b/usr/bin/update @@ -3,13 +3,7 @@ set -e # Run the "I'm too lazy to fix it myself all in one" script 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\"" - fi + 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 # Check for AUR helper