mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-04 14:05:41 -07:00
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'.
10 lines
211 B
Bash
Executable File
10 lines
211 B
Bash
Executable File
#!/bin/sh -ef
|
|
# Display all files owned by a package in a tree.
|
|
|
|
kiss l "${1:-null}"
|
|
|
|
db_dir=$KISS_ROOT/var/db/kiss/installed/${1:-null}
|
|
|
|
printf '%s\n' "[$1]:"
|
|
tree -C --fromfile "$db_dir/manifest" | tail -n +2
|