use paru instead of yay (#6)

This commit is contained in:
Mylloon 2023-05-07 12:12:26 +02:00
parent 52e3d28e95
commit 35934879f2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 26 additions and 26 deletions

14
arch.sh
View file

@ -31,18 +31,18 @@ main() {
sudo sed -i "s/#Color/Color/g" /etc/pacman.conf
sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf
# === Yay ==
git clone https://aur.archlinux.org/yay.git
cd yay || exit
# === Paru ==
git clone https://aur.archlinux.org/paru.git
cd paru || exit
makepkg -si --noconfirm
# Remove folder
cd ..
rm -rf yay
# Enable *-git package updates
yay -Y --devel --save
rm -rf paru
# Clean files used for compilation
sudo sed -i "s/#CleanAfter/CleanAfter/g" /etc/paru.conf
# === AUR packages ==
yay -S --noconfirm obsidian parsec-bin onlyoffice-bin evolution-etesync-git \
paru -S --noconfirm obsidian parsec-bin onlyoffice-bin evolution-etesync-git \
x11-emoji-picker gnome-shell-extension-dash-to-dock \
gnome-shell-extension-desktop-icons-ng dracula-gtk-theme \
dracula-icons-git vscodium-bin otf-symbola \

View file

@ -50,18 +50,18 @@ main() {
# === Remove SU password ==
echo -e "# Disable password for specific user\nanri ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null
# === Yay ==
git clone https://aur.archlinux.org/yay.git
cd yay || exit
# === Paru ==
git clone git clone https://aur.archlinux.org/paru.git
cd paru || exit
makepkg -si --noconfirm
# Remove folder
cd ..
rm -rf yay
# Enable *-git package updates
yay -Y --devel --save
rm -rf paru
# Clean files used for compilation
sudo sed -i "s/#CleanAfter/CleanAfter/g" /etc/paru.conf
# === AUR packages ==
yay -S --noconfirm spim-svn cal8tor otf-font-awesome
paru -S --noconfirm spim-svn cal8tor otf-font-awesome
# === Rust ==
# Add Cargo packages from Rust