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
|
fi
|
||||||
|
|
||||||
# checking if paru exist and removing if it is
|
# checking if paru exist and removing if it is
|
||||||
if [ -d paru ]; then
|
if [ -d paru-bin ]; then
|
||||||
rm -rf paru 2>&1 | tee -a "$LOG"
|
rm -rf paru-bin 2>&1 | tee -a "$LOG"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for AUR helper and install if not found
|
# 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}"
|
printf "\n%s - AUR helper already installed, moving on..\n" "${OK}"
|
||||||
else
|
else
|
||||||
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
||||||
printf "\n%s - Installing paru from AUR\n" "${NOTE}"
|
printf "\n%s - Installing paru-bin from AUR\n" "${NOTE}"
|
||||||
git clone https://aur.archlinux.org/paru.git || { printf "%s - Failed to clone paru from AUR\n" "${ERROR}"; exit 1; }
|
git clone https://aur.archlinux.org/paru-bin.git || { printf "%s - Failed to clone paru-bin from AUR\n" "${ERROR}"; exit 1; }
|
||||||
cd paru || { printf "%s - Failed to enter paru directory\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 from AUR\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
|
# moving install logs in to Install-Logs folder
|
||||||
mv install*.log ../Install-Logs/ || true
|
mv install*.log ../Install-Logs/ || true
|
||||||
|
|||||||
Reference in New Issue
Block a user