installing paru-bin to address issue https://github.com/JaKooLit/Arch-Hyprland/issues/183 to not pull cargo/or rust nor rustup
This commit is contained in:
@@ -25,8 +25,8 @@ if [ ! -d Install-Logs ]; then
|
||||
fi
|
||||
|
||||
# checking if paru exist and removing if it is
|
||||
if [ -d paru ]; then
|
||||
rm -rf paru 2>&1 | tee -a "$LOG"
|
||||
if [ -d paru-bin ]; then
|
||||
rm -rf paru-bin 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
# Check for AUR helper and install if not found
|
||||
@@ -36,10 +36,10 @@ if [ -n "$ISAUR" ]; then
|
||||
printf "\n%s - AUR helper already installed, moving on..\n" "${OK}"
|
||||
else
|
||||
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
||||
printf "\n%s - Installing paru from AUR\n" "${NOTE}"
|
||||
git clone https://aur.archlinux.org/paru.git || { printf "%s - Failed to clone paru from AUR\n" "${ERROR}"; exit 1; }
|
||||
cd paru || { printf "%s - Failed to enter paru directory\n" "${ERROR}"; exit 1; }
|
||||
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install paru from AUR\n" "${ERROR}"; exit 1; }
|
||||
printf "\n%s - Installing paru-bin from AUR\n" "${NOTE}"
|
||||
git clone https://aur.archlinux.org/paru-bin.git || { printf "%s - Failed to clone paru-bin from AUR\n" "${ERROR}"; exit 1; }
|
||||
cd paru-bin || { printf "%s - Failed to enter paru directory\n" "${ERROR}"; exit 1; }
|
||||
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install paru-bin from AUR\n" "${ERROR}"; exit 1; }
|
||||
|
||||
# moving install logs in to Install-Logs folder
|
||||
mv install*.log ../Install-Logs/ || true
|
||||
|
||||
Reference in New Issue
Block a user