diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-10-25 10:48:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-10-25 10:48:44 +0000 |
commit | 20880cf7e095f60a9858e574c1716007f3c795b1 (patch) | |
tree | be68582ef736745c2507769677fc6ccf96d9ca02 | |
parent | e7e24ba15fd0af560fb7b9e9f61798de3eec9225 (diff) | |
download | urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar.gz urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar.bz2 urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar.xz urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.zip |
add support of --root for gurpmi
-rw-r--r-- | gurpmi.pm | 3 | ||||
-rwxr-xr-x | gurpmi2 | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -35,6 +35,7 @@ Options : --auto-select --no-verify-rpm --media media1,... + --root root --searchmedia media1,... USAGE exit 0; @@ -69,7 +70,7 @@ sub parse_command_line { $options{$1} = 1; next; } - if (/^--(media|searchmedia)$/) { + if (/^--(media|searchmedia|root)$/) { $nextopt = $1; next; } @@ -120,6 +120,7 @@ sub configure_urpm { $urpm->exlock_rpm_db; $urpm->shlock_urpmi_db; $urpm->configure( + root => $gurpmi::options{root}, media => $gurpmi::options{media}, searchmedia => $gurpmi::options{searchmedia}, ); |