release-upgrade|upgrade-release|upgrade-system|release-switch|release-downgrade)# HELPCMD: upgrade/switch whole system to the release in arg (default: next (latest) release)
release-upgrade|upgrade-release|upgrade-system|release-switch)# HELPCMD: upgrade/switch whole system to the release in arg (default: next (latest) release)
epm_cmd=release_upgrade
direct_args=1
;;
release-downgrade|downgrade-release|downgrade-system)# HELPCMD: downgrade whole system to the release in arg (default: previuos release)
epm_cmd=release_downgrade
direct_args=1
;;
kernel-update|kernel-upgrade|update-kernel|upgrade-kernel)# HELPCMD: update system kernel to the last repo version
epm_cmd=kernel_update
direct_args=1
...
...
@@ -10189,7 +10423,6 @@ check_command()
;;
downgrade)# HELPCMD: downgrade [all] packages to the repo state
epm_cmd=downgrade
direct_args=1
;;
download)# HELPCMD: download package(s) file to the current dir
epm_cmd=download
...
...
@@ -10340,18 +10573,20 @@ done
FLAGENDOPTS=
# NOTE: can't use while read here: set vars inside
for opt in"$@";do
["$opt"="--"]&&FLAGENDOPTS=1 &&continue
if[-z"$FLAGENDOPTS"];then
check_command "$opt"&&continue
check_option "$opt"&&continue
fi
if[-n"$direct_args"];then
quoted_args="$quoted_args\"$opt\""
FLAGENDOPTS=1
continue
else
# Note: will parse all params separately (no package names with spaces!)
check_filenames "$opt"
fi
# Note: will parse all params separately (no package names with spaces!)