mirror of
https://github.com/dockersrc/archlinux
synced 2024-11-21 05:23:03 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/04-users.sh
This commit is contained in:
parent
3914c43060
commit
734abfade2
@ -57,7 +57,8 @@ if [ -z "$(command -v yay 2>/dev/null)" ]; then
|
||||
chmod -R 777 "$AUR_BUILD_DIR"
|
||||
git clone --depth 1 "https://aur.archlinux.org/yay" "." && rm -Rf ".git"
|
||||
sudo -u "$AUR_USER" makepkg --noconfirm -si
|
||||
sudo -u "${AUR_USER}" yay --afterclean --removemake --save && pacman -Qtdq | xargs -r pacman --noconfirm -Rcns || exit 1
|
||||
sudo -u "${AUR_USER}" yay --afterclean --removemake --save && sudo pacman -Qtdq | xargs -r pacman --noconfirm -Rcns || exit 1
|
||||
[ -d "$AUR_BUILD_DIR/yay" ] && cd && rm -Rf "$AUR_BUILD_DIR/yay"
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user