forked from kiss-community/kiss
kiss-depends: clearer
This commit is contained in:
parent
ba971ba449
commit
07ad1dcf73
@ -2,8 +2,9 @@
|
|||||||
# Turn an installed package into a KISS tarball
|
# Turn an installed package into a KISS tarball
|
||||||
|
|
||||||
db=$KISS_ROOT/var/db/kiss/installed
|
db=$KISS_ROOT/var/db/kiss/installed
|
||||||
|
pkg=${1:-"${PWD##*/}"}
|
||||||
|
|
||||||
kiss list "${pkg:=${1:-"${PWD##*/}"}}" >/dev/null || {
|
kiss list "$pkg" >/dev/null || {
|
||||||
printf 'usage: kiss-export [pkg]\n'
|
printf 'usage: kiss-export [pkg]\n'
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user