diff options
Diffstat (limited to 'contrib/kiss-repodepends')
-rwxr-xr-x | contrib/kiss-repodepends | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/kiss-repodepends b/contrib/kiss-repodepends index fded3b2..c5bb399 100755 --- a/contrib/kiss-repodepends +++ b/contrib/kiss-repodepends @@ -1,5 +1,8 @@ -#!/bin/sh +#!/bin/sh -e # # kiss-repodepends +[ "$1" ] || { printf '%s\n' "usage: kiss-repodepends <pkg>" ; exit 1 ;} +kiss s "$1" >/dev/null + cat "$(kiss s "$1" | sed 1q)/depends" 2>/dev/null |