From 9bce3593577f093a8e625f5d4e485feb9fafc13c Mon Sep 17 00:00:00 2001 From: DragonSlayer_14 Date: Wed, 26 Mar 2025 12:12:03 +0100 Subject: [PATCH] =?UTF-8?q?Feat:=20F=C3=BChrt=20Teile=20des=20Skripts=20ni?= =?UTF-8?q?cht=20als=20root=20aus.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0_Setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/0_Setup.sh b/0_Setup.sh index 370fe4a..6a24c31 100755 --- a/0_Setup.sh +++ b/0_Setup.sh @@ -34,10 +34,10 @@ if [[ "$answer" == "j" ]] || [[ "$answer" == "y" ]]; then # Installiere yay cd $AUR_CODE_DIR - git clone https://aur.archlinux.org/yay.git + sudo -u USER_NAME git clone https://aur.archlinux.org/yay.git cd yay - makepkg -sic --noconfirm || { echo "❌ Fehler beim Erstellen von adcli"; exit 1; } - git clean -dfx + sudo -u USER_NAME makepkg -sic --noconfirm || { echo "❌ Fehler beim Erstellen von adcli"; exit 1; } + sudo -u USER_NAME git clean -dfx cd $CURRENT_DIR fi