From ad23343f4450bc10e19878c56eb344ed86e66652 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 4 Sep 2024 14:44:38 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/root/docker/setup/04-users.sh --- rootfs/root/docker/setup/04-users.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/root/docker/setup/04-users.sh b/rootfs/root/docker/setup/04-users.sh index d63f1ec..b084eef 100755 --- a/rootfs/root/docker/setup/04-users.sh +++ b/rootfs/root/docker/setup/04-users.sh @@ -56,9 +56,9 @@ if [ -z "$(command -v yay 2>/dev/null)" ]; then [ -n "$(type -P git)" ] && git config --global init.defaultBranch main chmod -R 777 "$AUR_BUILD_DIR" git clone --depth 1 "https://aur.archlinux.org/yay-bin" "." && rm -Rf ".git" - sudo -u "$AUR_USER" makepkg --noconfirm -si - 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" + sudo -u "$AUR_USER" makepkg -sri --needed --noconfirm -si + sudo -u "$AUR_USER" yay --afterclean --removemake --save && pacman -Qtdq | xargs -r pacman --noconfirm -Rcns || exit 1 + [ -d "$AUR_BUILD_DIR" ] && cd && rm -Rf "${AUR_BUILD_DIR:?}"/* "$AUR_HOME/.cache"/* else exit 1 fi