kiss: initial a arg
This commit is contained in:
parent
4fcb12ce9f
commit
d25c4bd5e1
6
kiss
6
kiss
|
@ -1170,7 +1170,11 @@ args() {
|
||||||
case $action in
|
case $action in
|
||||||
a|alternatives)
|
a|alternatives)
|
||||||
if [ "$1" ]; then
|
if [ "$1" ]; then
|
||||||
:
|
# Check to see if the package is installed. This
|
||||||
|
# will exit with an error if it is not.
|
||||||
|
pkg_list "$1" >/dev/null
|
||||||
|
|
||||||
|
[ "$2" ] || die "No alternative chosen"
|
||||||
else
|
else
|
||||||
log "Alternatives:"
|
log "Alternatives:"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue