forked from kiss-community/kiss
kiss: remove reverse ordering for kiss r (needs to be replaced)
This commit is contained in:
parent
3e08cf1ff2
commit
91b39a0f97
10
kiss
10
kiss
@ -1502,7 +1502,7 @@ args() {
|
||||
esac
|
||||
;;
|
||||
|
||||
b|build|c|checksum|d|download|i|install|l|list|r|remove)
|
||||
b|build|c|checksum|d|download|i|install|l|list)
|
||||
case ${action%%"${action#?}"}-$* in
|
||||
i-*\!*|i-*\**|i-*\[*|i-*\]*)
|
||||
die "Arguments contain invalid characters: '!*[]' ($*)"
|
||||
@ -1528,6 +1528,12 @@ args() {
|
||||
# shellcheck disable=2046,2086
|
||||
set -- $order
|
||||
;;
|
||||
|
||||
r|remove)
|
||||
case $* in *\**|*\!*|*\[*|*\]*|*/*)
|
||||
die "Invalid argument: '!*[]/' ($*)"
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
# Rerun the script as root with a fixed environment if needed. We sadly
|
||||
@ -1597,7 +1603,7 @@ args() {
|
||||
b|build) pkg_build_all "${@:?No packages installed}" ;;
|
||||
d|download) for pkg do pkg_source "$pkg"; done ;;
|
||||
l|list) pkg_list "$@" ;;
|
||||
r|remove) for pkg in $redro; do pkg_remove "$pkg"; done ;;
|
||||
r|remove) for pkg do pkg_remove "$pkg"; done ;;
|
||||
s|search) for pkg do pkg_find "$pkg" all; done ;;
|
||||
u|update) pkg_updates ;;
|
||||
v|version) printf '5.4.8\n' ;;
|
||||
|
Loading…
Reference in New Issue
Block a user