aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-reset
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-07-24 10:39:50 +0000
committermerakor <cem@ckyln.com>2020-07-24 10:39:50 +0000
commitdb779acfe1319f7cdbdc0c493f6e6fd6ae2412ef (patch)
tree9740efa1e1007c9e522e3d4c3b633b8fa4e85183 /contrib/cpt-reset
parent1deb9398fa1d646995348bd92406580627dbaed7 (diff)
downloadcpt-db779acfe1319f7cdbdc0c493f6e6fd6ae2412ef.tar.gz
contrib: replace kiss usage with cpt tools
FossilOrigin-Name: 37f8991b3fe9af32f167b813e0a1a30ada525aa3e3f31507a267c7c3ba5f43b7
Diffstat (limited to 'contrib/cpt-reset')
-rwxr-xr-xcontrib/cpt-reset6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/cpt-reset b/contrib/cpt-reset
index 326cb80..1226fe6 100755
--- a/contrib/cpt-reset
+++ b/contrib/cpt-reset
@@ -9,16 +9,16 @@ set --
while read -r pkg _; do
case $pkg in
baselayout|binutils|bison|busybox|bzip2|curl|flex|gcc|rsync|\
- gzip|kiss|libressl|linux-headers|m4|make|musl|pkgconf|xz|zlib) ;;
+ gzip|cpt|libressl|linux-headers|m4|make|musl|pkgconf|xz|zlib) ;;
*) set -- "$@" "$pkg" ;;
esac
done <<EOF
-$(kiss l)
+$(cpt-list)
EOF
[ "$1" ] && {
printf 'WARNING: This will remove \033[1m%s\033[m package(s).\n' "$#"
printf 'Continue? [Enter/Ctrl+C]\n'
- read -r _ && KISS_FORCE=1 kiss r "$@"
+ read -r _ && CPT_FORCE=1 cpt-remove "$@"
}