From ffd1c2c2ebb25ef4c3694a1aeb3cf13b0e86dd57 Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Nov 2024 23:17:08 +0300 Subject: update --- rice.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rice.sh') diff --git a/rice.sh b/rice.sh index 20e3ddb..718a0df 100755 --- a/rice.sh +++ b/rice.sh @@ -83,4 +83,13 @@ sed -i -e '/Color/a\ILoveCandy' /etc/pacman.conf rm /home/$PERMUSER/.bash* +# makeflags set to number of threads and pacman elevation is doas +sed -i 's/#MAKEFLAGS=.*$/MAKEFLAGS="-j'$(nproc)'"/' /etc/makepkg.conf +sed -i 's/#PACMAN_AUTH=.*$/PACMAN_AUTH=(doas)/' /etc/makepkg.conf +doas -u $PERMUSER git clone https://aur.archlinux.org/yay.git +cd yay +doas -u $PERMUSER makepkg -csi --noconfirm +DEPLIST="`sed -e 's/#.*$//' -e '/^$/d' aurdeps.txt | tr '\n' ' '`" +doas -u $PERMUSER yay -S $DEPLIST --noconfirm + echo "Your linux is riced!" -- cgit v1.2.3