switched over to non-bin yay or paru
This commit is contained in:
@@ -23,9 +23,9 @@ if [ ! -d Install-Logs ]; then
|
||||
mkdir Install-Logs
|
||||
fi
|
||||
|
||||
# Check Existing yay-bin
|
||||
if [ -d yay-bin ]; then
|
||||
rm -rf yay-bin 2>&1 | tee -a "$LOG"
|
||||
# Check Existing yay
|
||||
if [ -d yay ]; then
|
||||
rm -rf yay 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
|
||||
# Check for AUR helper and install if not found
|
||||
@@ -35,8 +35,8 @@ if [ -n "$ISAUR" ]; then
|
||||
else
|
||||
printf "\n%s - AUR helper was NOT located\n" "$WARN"
|
||||
printf "\n%s - Installing yay from AUR\n" "${NOTE}"
|
||||
git clone https://aur.archlinux.org/yay-bin.git || { printf "%s - Failed to clone yay from AUR\n" "${ERROR}"; exit 1; }
|
||||
cd yay-bin || { printf "%s - Failed to enter yay-bin directory\n" "${ERROR}"; exit 1; }
|
||||
git clone https://aur.archlinux.org/yay.git || { printf "%s - Failed to clone yay from AUR\n" "${ERROR}"; exit 1; }
|
||||
cd yay || { printf "%s - Failed to enter yay directory\n" "${ERROR}"; exit 1; }
|
||||
makepkg -si --noconfirm 2>&1 | tee -a "$LOG" || { printf "%s - Failed to install yay from AUR\n" "${ERROR}"; exit 1; }
|
||||
|
||||
# moving install logs in to Install-Logs folder
|
||||
|
||||
Reference in New Issue
Block a user