aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-list
blob: 5179dc5174839fa89b0b6e95edd5663a240966f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -ef
# List installed packages

if [ -f ./cpt-lib ]; then . ./cpt-lib; else . cpt-lib; fi

case "$1" in
    --help|-h) out "usage: ${0##*/} [pkg...]"; exit 1 ;;
    --version|-v) version ;;
esac

pkg_list "$@"