Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 9ac03fe2e1
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.34 kB
#!/bin/sh
set -e
. rpg-sh-setup
ARGV="$@"
USAGE '${PROGNAME}
List installed packages that no other package depends on.'
: ${TMPDIR:=/tmp}
index=$(mktemp -t $PROGNAME)
trap "rm -f $index" 0
rpg-package-index |
cut -d ' ' -f 1 |
sort > "$index"
rpg-dependencies -a |
cut -d ' ' -f 2 |
sort |
comm -31 - "$index"
Jump to Line
Something went wrong with that request. Please try again.