From db779acfe1319f7cdbdc0c493f6e6fd6ae2412ef Mon Sep 17 00:00:00 2001 From: merakor Date: Fri, 24 Jul 2020 10:39:50 +0000 Subject: contrib: replace kiss usage with cpt tools FossilOrigin-Name: 37f8991b3fe9af32f167b813e0a1a30ada525aa3e3f31507a267c7c3ba5f43b7 --- contrib/cpt-manifest-tree | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/cpt-manifest-tree') diff --git a/contrib/cpt-manifest-tree b/contrib/cpt-manifest-tree index 0cc047e..823b013 100755 --- a/contrib/cpt-manifest-tree +++ b/contrib/cpt-manifest-tree @@ -2,6 +2,6 @@ # Display all files owned by a package with a tree view case "$1" in ''|--help|-h) printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg]" ; exit 0 ; esac -kiss l "$1" >/dev/null +cpt-list "$1" >/dev/null printf '%s\n' "[$1]:" -tree -C --fromfile "$KISS_ROOT/var/db/kiss/installed/$1/manifest" | sed 1,2d +tree -C --fromfile "$CPT_ROOT/var/db/cpt/installed/$1/manifest" | sed 1,2d -- cgit v1.2.3