Feat: Führt Teile des Skripts nicht als root aus.
This commit is contained in:
parent
1a0a22569f
commit
9bce359357
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user