mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
fzf: check for dpkg before checking for fzf in debian
Fixes #8253 Co-authored-by: Mariusz B <mb@binary-offensive.com>
This commit is contained in:
parent
52f5878564
commit
f56b678888
1 changed files with 6 additions and 6 deletions
|
@ -58,7 +58,7 @@ function setup_using_base_dir() {
|
|||
|
||||
|
||||
function setup_using_debian_package() {
|
||||
dpkg -s fzf &> /dev/null
|
||||
(( $+command[dpkg] )) && dpkg -s fzf &> /dev/null
|
||||
if (( $? )); then
|
||||
# Either not a debian based distro, or no fzf installed. In any case skip ahead
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue