mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-09-28 12:22:39 -06:00
kiss-reset: Fix bug
This commit is contained in:
parent
ff4276d559
commit
1c02a84c3b
@ -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' "$#"
|
||||
|
Loading…
Reference in New Issue
Block a user