mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
git to bin for faster installation (#378)
Co-authored-by: nnyyxxxx <nnyyxxxx@users.noreply.github.com>
This commit is contained in:
parent
075b54f5fb
commit
54786a719e
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user