aboutsummaryrefslogtreecommitdiffstats
path: root/gurpmi.addmedia
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-02-09 17:08:16 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-02-09 17:08:16 +0000
commitf181976e0425405ef4951d8fbd3ef17066964d48 (patch)
treed1e4120a9111759c13e4eee381ded71bddf04f4f /gurpmi.addmedia
parent715c925cc6434d8b380d0498459907f5dedeef14 (diff)
downloadrpmdrake-f181976e0425405ef4951d8fbd3ef17066964d48.tar
rpmdrake-f181976e0425405ef4951d8fbd3ef17066964d48.tar.gz
rpmdrake-f181976e0425405ef4951d8fbd3ef17066964d48.tar.bz2
rpmdrake-f181976e0425405ef4951d8fbd3ef17066964d48.tar.xz
rpmdrake-f181976e0425405ef4951d8fbd3ef17066964d48.zip
change extension of file for one-click add of medium
Diffstat (limited to 'gurpmi.addmedia')
-rwxr-xr-xgurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index bacbc822..feb72bc3 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -54,7 +54,7 @@ if ($@) {
$::isStandalone = 1;
my $fromfile;
-if (@ARGV == 1 && $ARGV[0] =~ /\.urpm-media$/) {
+if (@ARGV == 1 && $ARGV[0] =~ /\.urpmi-media$/) {
@ARGV = split /\n/, cat_($ARGV[0]);
$fromfile = 1;
}