mirror of
https://github.com/dockersrc/archlinux
synced 2024-11-22 23:23:04 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/root/docker/setup/04-users.sh
This commit is contained in:
parent
1633173d1a
commit
657a4536ae
@ -61,8 +61,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-bin" "." && rm -Rf ".git"
|
||||
sudo -u "$AUR_USER" makepkg -sri --needed --noconfirm -si || exit 1
|
||||
sudo -u "$AUR_USER" yay --afterclean --removemake --save && pacman -Qtdq | xargs -r pacman --noconfirm -Rcns
|
||||
[ -d "$AUR_BUILD_DIR" ] && cd && rm -Rf "${AUR_BUILD_DIR:?}"/* "$AUR_HOME/.cache"/*
|
||||
sudo -u "$AUR_USER" yay --afterclean --removemake --save && pacman -Qtdq | xargs -r pacman --noconfirm -Rcns || true
|
||||
[ -d "$AUR_BUILD_DIR" ] && cd && rm -Rf "${AUR_BUILD_DIR:?}"/* "$AUR_HOME/.cache"/* || true
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user