git to bin for faster installation (#378)

Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
Nyx 2024-09-18 14:40:31 -04:00 committed by GitHub
parent 075b54f5fb
commit 54786a719e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@ checkAURHelper() {
echo "Installing yay as AUR helper..." echo "Installing yay as AUR helper..."
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm base-devel $ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm base-devel
cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-git.git && $ESCALATION_TOOL chown -R "$USER":"$USER" ./yay-git cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-bin.git && $ESCALATION_TOOL chown -R "$USER":"$USER" ./yay-bin
cd yay-git && makepkg --noconfirm -si cd yay-bin && makepkg --noconfirm -si
if command_exists yay; then if command_exists yay; then
AUR_HELPER="yay" AUR_HELPER="yay"

View File

@ -8,8 +8,8 @@ installDepend() {
if ! command_exists yay; then if ! command_exists yay; then
echo "Installing yay as AUR helper..." echo "Installing yay as AUR helper..."
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm base-devel $ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm base-devel
cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-git.git && $ESCALATION_TOOL chown -R "$USER": ./yay-git cd /opt && $ESCALATION_TOOL git clone https://aur.archlinux.org/yay-bin.git && $ESCALATION_TOOL chown -R "$USER": ./yay-bin
cd yay-git && makepkg --noconfirm -si cd yay-bin && makepkg --noconfirm -si
echo "Yay installed" echo "Yay installed"
else else
echo "Aur helper already installed" echo "Aur helper already installed"