kiss/contrib/kiss-repodepends
Dylan Araps fdf2775640
kiss: Integrate with user scripts.
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'.
2020-04-18 11:39:37 +03:00

5 lines
97 B
Bash
Executable File

#!/bin/sh
# Display a package's original dependencies.
cat "$(kiss s "$1")/depends" 2>/dev/null