forked from kiss-community/kiss
fdf2775640
kiss' help output will now include all executables found in $PATH which begin with kiss-*. A comment string is optionally usable via setting the second line of the script to a string. Example: ... This also means that 'kiss <script name>' is also possible now. If I have a script in my $PATH called kiss-depends, I can now use it via kiss with 'kiss depends'.
9 lines
169 B
Bash
Executable File
9 lines
169 B
Bash
Executable File
#!/bin/sh -ef
|
|
# Display a package's dependencies.
|
|
|
|
kiss l "${1:-null}" >/dev/null
|
|
|
|
db_dir=$KISS_ROOT/var/db/kiss/installed/${1:-null}
|
|
|
|
cat "$db_dir/depends" 2>/dev/null
|