diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-03-11 15:14:08 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2020-03-11 15:14:08 +0000 |
commit | b6e41d9a5555a701526d79c4ab981e2a322d8688 (patch) | |
tree | 28c77117b28f500f445e438c8ce7c608d4071efe /contrib/kiss-reset | |
parent | eebd105be1e6cee84aca73fda03f24b04ed1a725 (diff) | |
download | cpt-b6e41d9a5555a701526d79c4ab981e2a322d8688.tar.gz |
kiss-reset: Fix bug
FossilOrigin-Name: 9e0ca9262031a35c2bffa3438f8b4e360c479435b4e9e86a47905d99af230eac
Diffstat (limited to 'contrib/kiss-reset')
-rwxr-xr-x | contrib/kiss-reset | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/kiss-reset b/contrib/kiss-reset index 9845109..aee6547 100755 --- a/contrib/kiss-reset +++ b/contrib/kiss-reset @@ -7,15 +7,17 @@ set -- -kiss l | while read -r pkg _; do +while read -r pkg _; do case $pkg in baselayout|binutils|bison|busybox|bzip2|curl|flex|gcc|git|\ - gzip|kiss|libelf|libressl|linux-headers|m4|make|musl|perl|\ - pkgconf|rsync|xz|zlib) ;; + gzip|kiss|libressl|linux-headers|m4|make|musl|pkgconf|rsync|\ + xz|zlib) ;; *) set -- "$@" "$pkg" ;; esac -done +done <<EOF +$(kiss l) +EOF [ "$1" ] && { printf 'WARNING: This will remove \033[1m%s\033[m package(s).\n' "$#" |