kiss-revdepends: Work even if package is uninstalled
This commit is contained in:
parent
942f36b672
commit
00671aaa7e
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# Ignore shellcheck as we want the warning's behavior.
|
# Ignore shellcheck as we want the warning's behavior.
|
||||||
# shellcheck disable=2015
|
# shellcheck disable=2015
|
||||||
[ "$1" ] && kiss l "${1:-null}" >/dev/null || {
|
[ "$1" ] || {
|
||||||
printf 'usage: kiss-revdepends [pkg]\n'
|
printf 'usage: kiss-revdepends [pkg]\n'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue