From 7a488f2353637f1c2b2caecd5b38fed5f142e2ca Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 16 Dec 2016 18:31:46 -0500 Subject: [PATCH] shell/fasd/install: use pacaur on arch; don't confirm on other distros --- shell/fasd/install | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/shell/fasd/install b/shell/fasd/install index 2662d7be..9e3941f5 100755 --- a/shell/fasd/install +++ b/shell/fasd/install @@ -5,17 +5,12 @@ case "$OSTYPE" in brew install fasd ;; linux*) - if [ -f /etc/arch-release ] - then - mkdir -p $HOME/build && cd $HOME/build - git clone https://aur.archlinux.org/fasd.git fasd - cd fasd - makepkg -sri - elif [ -f /etc/debian_version ]; - then + if [[ -f /etc/arch-release ]]; then + pacaur --needed --noconfirm -S fasd + elif [[ -f /etc/debian_version ]]; then sudo add-apt-repository ppa:aacebedo/fasd sudo apt update - sudo apt install fasd + sudo apt install -y fasd fi ;; esac