shell/fasd/install: use pacaur on arch; don't confirm on other distros
This commit is contained in:
parent
ebec9c2314
commit
7a488f2353
|
@ -5,17 +5,12 @@ case "$OSTYPE" in
|
||||||
brew install fasd
|
brew install fasd
|
||||||
;;
|
;;
|
||||||
linux*)
|
linux*)
|
||||||
if [ -f /etc/arch-release ]
|
if [[ -f /etc/arch-release ]]; then
|
||||||
then
|
pacaur --needed --noconfirm -S fasd
|
||||||
mkdir -p $HOME/build && cd $HOME/build
|
elif [[ -f /etc/debian_version ]]; then
|
||||||
git clone https://aur.archlinux.org/fasd.git fasd
|
|
||||||
cd fasd
|
|
||||||
makepkg -sri
|
|
||||||
elif [ -f /etc/debian_version ];
|
|
||||||
then
|
|
||||||
sudo add-apt-repository ppa:aacebedo/fasd
|
sudo add-apt-repository ppa:aacebedo/fasd
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install fasd
|
sudo apt install -y fasd
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue