Paru bug fix

This commit is contained in:
2024-01-03 21:30:34 +00:00
parent cdb51b372a
commit 9446b2549f

View File

@@ -24,19 +24,18 @@ if ask "Choose best mirrors (LONG TIME)?"; then
fi fi
# Install paru # Install paru
if ask "Install paru (AUR)?"; then paru=$(pacman -Q paru)
paru=$(pacman -Q paru) if [[ -n "$paru" ]]; then
if [[ -n "$paru" ]]; then echo -e "\e[32m[I] Paru is already installed.\e[0m"
echo -e "\e[32m[I] Paru is already installed.\e[0m" else
else kgx -e "sudo pacman -S --needed base-devel && \
kgx -e "sudo pacman -S --needed base-devel && \ git clone https://aur.archlinux.org/paru.git && \
git clone https://aur.archlinux.org/paru.git && \ cd paru && \
cd paru && \ makepkg -si && \
makepkg -si && \ cd .. && \
cd .. && \ rm -rf paru"
rm -rf paru"
fi
fi fi
read -p "Press enter to continue."
# Enable bluetooth support # Enable bluetooth support
if ask "Enable bluetooth?"; then if ask "Enable bluetooth?"; then