🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/04-users.sh
This commit is contained in:
casjay 2024-10-12 20:41:14 -04:00
parent 59475126f6
commit 093eb2a0ff
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -58,7 +58,7 @@ if [ -z "$(command -v yay 2>/dev/null)" ]; then
chmod -R 777 "$AUR_BUILD_DIR" chmod -R 777 "$AUR_BUILD_DIR"
git clone --depth 1 "https://aur.archlinux.org/yay-bin" "." && rm -Rf ".git" 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" 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 [ -d "$AUR_BUILD_DIR" ] && cd && rm -Rf "${AUR_BUILD_DIR:?}"/* "$AUR_HOME/.cache"/* || true
else else
exit 1 exit 1