contrib: remove kiss-reset

This is best handled manually.
This commit is contained in:
Dylan Araps 2021-07-14 08:13:27 +03:00
parent c2e5a03af8
commit dc776868d2
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
#!/bin/sh -e
# Remove all packages except for the base
set --
for pkg in "$KISS_ROOT/var/db/kiss/installed/"*; do
pkg=${pkg##*/}
case $pkg in
baselayout|baseinit|binutils|bison|busybox|bzip2|curl|\
flex|gcc|git|gzip|kiss|openssl|linux-headers|m4|make|\
musl|xz|zlib) ;;
*) set -- "$@" "$pkg" ;;
esac
done
[ "$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 remove "$@"
}