From 093eb2a0ffa429e717f75409e9c27bbe2226d76b Mon Sep 17 00:00:00 2001 From: casjay Date: Sat, 12 Oct 2024 20:41:14 -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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/root/docker/setup/04-users.sh b/rootfs/root/docker/setup/04-users.sh index 4ae1130..3769be4 100755 --- a/rootfs/root/docker/setup/04-users.sh +++ b/rootfs/root/docker/setup/04-users.sh @@ -58,7 +58,7 @@ 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 || true + sudo -u root bash -c "(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