summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-28 17:30:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-28 17:30:27 +0000
commitd4e05ef6ea05525bf3b14ff1990e8864763ccb0f (patch)
tree80aebafc46e648795fa96c59af42dcd18591f3a2 /gurpmi2
parentc8d5d629efb6f2a6f24e14c1e77404f30b4792a9 (diff)
downloadurpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar.gz
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar.bz2
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar.xz
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.zip
factorize default options, and have them by default in $urpm->{options}
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi23
1 files changed, 0 insertions, 3 deletions
diff --git a/gurpmi2 b/gurpmi2
index 53be46f3..23fda4e9 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -132,9 +132,6 @@ sub configure_urpm() {
searchmedia => $gurpmi::options{searchmedia},
);
$urpm->{options}{'verify-rpm'} = 0 if $gurpmi::options{'no-verify-rpm'};
- #- default options values
- exists $urpm->{options}{$_} or $urpm->{options}{$_} = 1 foreach qw(post-clean verify-rpm split-length);
- $urpm->{options}{'split-level'} = 1 unless exists $urpm->{options}{'split-level'};
$urpm;
}