Commit 4ef0cb98 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: add --full option

parent 85ee0720
...@@ -131,6 +131,7 @@ nodeps= ...@@ -131,6 +131,7 @@ nodeps=
noremove= noremove=
dryrun= dryrun=
force= force=
full=
repack= repack=
norepack= norepack=
install= install=
...@@ -540,6 +541,9 @@ check_option() ...@@ -540,6 +541,9 @@ check_option()
--force) # HELPOPT: force install/remove package (f.i., override) --force) # HELPOPT: force install/remove package (f.i., override)
force="--force" force="--force"
;; ;;
--full) # HELPOPT: do full operation (f.i., use all packages from task, without excludes)
full="--full"
;;
--noremove|--no-remove) # HELPOPT: exit if any packages are to be removed during upgrade --noremove|--no-remove) # HELPOPT: exit if any packages are to be removed during upgrade
noremove="--no-remove" noremove="--no-remove"
;; ;;
...@@ -670,7 +674,7 @@ if [ -n "$quiet" ] ; then ...@@ -670,7 +674,7 @@ if [ -n "$quiet" ] ; then
fi fi
# fill # fill
export EPM_OPTIONS="$nodeps $force $verbose $debug $quiet $interactive $non_interactive $save_only $download_only $force_overwrite $manual_requires" export EPM_OPTIONS="$nodeps $force $full $verbose $debug $quiet $interactive $non_interactive $save_only $download_only $force_overwrite $manual_requires"
# if input is not console and run script from file, get pkgs from stdin too # if input is not console and run script from file, get pkgs from stdin too
if [ ! -n "$inscript" ] && [ -p /dev/stdin ] && [ "$EPMMODE" != "pipe" ] ; then if [ ! -n "$inscript" ] && [ -p /dev/stdin ] && [ "$EPMMODE" != "pipe" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment