Update after.sh

This commit is contained in:
Baltrust 2026-10-14 16:52:36 +03:00
parent c4002b4a1f
commit aea3d35b86

View file

@ -58,8 +58,8 @@ install -d -o "$USERNAME" -g "$USERNAME" "/home/$USERNAME/.config/yay"
su - "$USERNAME" <<'EOF'
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si --noconfirm
cd yay-bin && makepkg -si --noconfirm
cd "$OLDPWD" && rm -rf yay-bin
# Set up yay to not ask for password multiple times during installation / upgrading later
yay --sudoloop --save
@ -186,9 +186,8 @@ sed -i 's/^#\?GRUB_DISABLE_OS_PROBER=.*/GRUB_DISABLE_OS_PROBER=false/' /etc/defa
su - "$USERNAME" <<'EOF'
curl -O https://git.baltrust.eu.org/Baltrust/fixes/raw/branch/main/Graphite-grub2-theme.tar.xz
tar -xf Graphite-grub2-theme.tar.xz && rm Graphite-grub2-theme.tar.xz
cd grub2
./install.sh
cd "$OLDPWD"
cd grub2 && ./install.sh
cd "$OLDPWD" && rm -rf grub2
EOF
# Restore password requirement after successful installation