forked from kiss-community/kiss
kiss-new: Argument handling
This commit is contained in:
parent
f2804c2b66
commit
0e6f0c701a
2
kiss-new
2
kiss-new
@ -77,7 +77,7 @@ pkg_list() {
|
||||
[ "$1" ] || set -- *
|
||||
|
||||
# Loop over each version file and warn if one doesn't exist.
|
||||
# Supress errors from 'read' as we print our own message.
|
||||
# Also warn if a package is missing its version file.
|
||||
for pkg; do
|
||||
[ -d "$pkg" ] || {
|
||||
log "Package '$pkg' is not installed."
|
||||
|
Loading…
Reference in New Issue
Block a user