🗃️ Committing everything that changed 🗃️

rootfs/root/docker/setup/04-users.sh
This commit is contained in:
casjay 2024-09-04 14:38:29 -04:00
parent 734abfade2
commit ee618cacfb
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145

View File

@ -55,7 +55,7 @@ if [ -z "$(command -v yay 2>/dev/null)" ]; then
if cd "$AUR_BUILD_DIR/yay"; then if cd "$AUR_BUILD_DIR/yay"; then
[ -n "$(type -P git)" ] && git config --global init.defaultBranch main [ -n "$(type -P git)" ] && git config --global init.defaultBranch main
chmod -R 777 "$AUR_BUILD_DIR" chmod -R 777 "$AUR_BUILD_DIR"
git clone --depth 1 "https://aur.archlinux.org/yay" "." && rm -Rf ".git" git clone --depth 1 "https://aur.archlinux.org/yay-bin" "." && rm -Rf ".git"
sudo -u "$AUR_USER" makepkg --noconfirm -si 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 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" [ -d "$AUR_BUILD_DIR/yay" ] && cd && rm -Rf "$AUR_BUILD_DIR/yay"