aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi.addmedia2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f25657e2..2874ed94 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,7 @@
- gurpmi.addmedia:
o handle --mirrorlist (ansi)
o drop 'with' parameter, it didn't work properly anymore (Anssi)
+ o do not garbage ~/.rpmdrake
o fix --distrib
o fix --distrib --mirrorlist
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index a4a5c4ad..e4670381 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -58,6 +58,8 @@ use Getopt::Long;
use ugtk2 qw(:all);
$::isStandalone = 1;
+readconf();
+
my $fromfile;
if (@ARGV == 1 && $ARGV[0] =~ /\.urpmi-media$/) {
@ARGV = map { s/^\s*//; s/\s*$//; $_ } split /\n/, cat_($ARGV[0]);