Fix: Übergebt User richtig.
This commit is contained in:
parent
24f0133c8c
commit
a681db6e29
@ -37,10 +37,10 @@ if [[ "$answer" == "j" ]] || [[ "$answer" == "y" ]]; then
|
|||||||
|
|
||||||
# Installiere yay
|
# Installiere yay
|
||||||
cd $AUR_CODE_DIR
|
cd $AUR_CODE_DIR
|
||||||
sudo -u USER_NAME git clone https://aur.archlinux.org/yay.git
|
sudo -u $USER_NAME git clone https://aur.archlinux.org/yay.git
|
||||||
cd yay
|
cd yay
|
||||||
sudo -u USER_NAME makepkg -sic --noconfirm || { echo "❌ Fehler beim Erstellen von adcli"; exit 1; }
|
sudo -u $USER_NAME makepkg -sic --noconfirm || { echo "❌ Fehler beim Erstellen von Yay"; exit 1; }
|
||||||
sudo -u USER_NAME git clean -dfx
|
sudo -u $USER_NAME git clean -dfx
|
||||||
|
|
||||||
cd $CURRENT_DIR
|
cd $CURRENT_DIR
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user