[misc] skip installation if fzf already installed
This commit is contained in:
parent
931319e839
commit
0aafee6d9d
|
@ -13,7 +13,7 @@ case "$PM" in
|
||||||
sudo apt install fish libnotify-bin xdotool -y
|
sudo apt install fish libnotify-bin xdotool -y
|
||||||
if apt show fzf &>/dev/null; then
|
if apt show fzf &>/dev/null; then
|
||||||
sudo apt install fzf
|
sudo apt install fzf
|
||||||
else
|
elif ! which fzf &>/dev/null; then
|
||||||
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
|
||||||
~/.fzf/install
|
~/.fzf/install
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user