summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-10-25 10:48:44 +0000
committerThierry Vignaud <tv@mandriva.org>2006-10-25 10:48:44 +0000
commit20880cf7e095f60a9858e574c1716007f3c795b1 (patch)
treebe68582ef736745c2507769677fc6ccf96d9ca02 /gurpmi.pm
parente7e24ba15fd0af560fb7b9e9f61798de3eec9225 (diff)
downloadurpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar
urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar.gz
urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar.bz2
urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.tar.xz
urpmi-20880cf7e095f60a9858e574c1716007f3c795b1.zip
add support of --root for gurpmi
Diffstat (limited to 'gurpmi.pm')
-rw-r--r--gurpmi.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 574043b6..434ce34d 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -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;
}