diff options
author | awy <awy@awy.one> | 2024-11-24 23:17:08 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-11-24 23:17:08 +0300 |
commit | ffd1c2c2ebb25ef4c3694a1aeb3cf13b0e86dd57 (patch) | |
tree | 740f1cce84c459b1eb1eb5744c62883ebbe22bb6 | |
parent | b105efa2bfed0cefae8f97e73723048da8f7f7cc (diff) |
update
-rw-r--r-- | aurdeps.txt | 7 | ||||
-rwxr-xr-x | rice.sh | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/aurdeps.txt b/aurdeps.txt new file mode 100644 index 0000000..fa691b1 --- /dev/null +++ b/aurdeps.txt @@ -0,0 +1,7 @@ +tessen +sing-box +sing-geoip-db +sing-geoip-rule-set +sing-geosite-db +sing-geosite-rule-set +webcord-bin @@ -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!" |