diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-12-03 17:41:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-12-03 17:41:04 +0000 |
commit | 19426864f2b204fcb2e3d20b8c0262978162a089 (patch) | |
tree | a0b1438b1e1faad01450506aa6fbf7c6bda0685a /Rpmdrake/init.pm | |
parent | 3ce73b864e599dc88de8af4f7c782a836d00bcdb (diff) | |
download | rpmdrake-19426864f2b204fcb2e3d20b8c0262978162a089.tar rpmdrake-19426864f2b204fcb2e3d20b8c0262978162a089.tar.gz rpmdrake-19426864f2b204fcb2e3d20b8c0262978162a089.tar.bz2 rpmdrake-19426864f2b204fcb2e3d20b8c0262978162a089.tar.xz rpmdrake-19426864f2b204fcb2e3d20b8c0262978162a089.zip |
remove --root option that was deprecated since August 2007
(rationale: its meaning conflicts with urpmi's --root one)
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r-- | Rpmdrake/init.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm index 6a94c204..5a0ea01a 100644 --- a/Rpmdrake/init.pm +++ b/Rpmdrake/init.pm @@ -59,7 +59,6 @@ N(" --no-verify-rpm don't verify packages signatures"), if_($0 !~ /MandrivaUpdate/, N(" --parallel=alias,host be in parallel mode, use \"alias\" group, use \"host\" machine to show needed deps")), N(" --rpm-root=path use another root for rpm installation"), N(" --urpmi-root use another root for urpmi db & rpm installation"), -N(" --root force to run as root") . ' ' . N("(Deprecated)"), N(" --run-as-root force to run as root"), N(" --search=pkg run search for \"pkg\""), N(" --test only verify if the installation can be achieved correctly"), @@ -143,7 +142,7 @@ if ($MODE eq 'remove') { $default_list_mode = 'all_updates'; } -$MODE eq 'update' || $rpmdrake_options{'run-as-root'} || $rpmdrake_options{root} and require_root_capability(); +$MODE eq 'update' || $rpmdrake_options{'run-as-root'} and require_root_capability(); $::noborderWhenEmbedded = 1; require rpmdrake; |