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/#Color/Color/g" /etc/pacman.conf
sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf
# === Yay == # === Paru ==
git clone https://aur.archlinux.org/yay.git git clone https://aur.archlinux.org/paru.git
cd yay || exit cd paru || exit
makepkg -si --noconfirm makepkg -si --noconfirm
# Remove folder # Remove folder
cd .. cd ..
rm -rf yay rm -rf paru
# Enable *-git package updates # Clean files used for compilation
yay -Y --devel --save sudo sed -i "s/#CleanAfter/CleanAfter/g" /etc/paru.conf
# === AUR packages == # === 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 \ x11-emoji-picker gnome-shell-extension-dash-to-dock \
gnome-shell-extension-desktop-icons-ng dracula-gtk-theme \ gnome-shell-extension-desktop-icons-ng dracula-gtk-theme \
dracula-icons-git vscodium-bin otf-symbola \ dracula-icons-git vscodium-bin otf-symbola \

View file

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