aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xgurpmi.addmedia4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index cac015bb..28669652 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- gurpmi.addmedia:
+ o fix displaying --help
- rpmdrake:
o update GUI package list
diff --git a/gurpmi.addmedia b/gurpmi.addmedia
index 9358e2e4..cdd0890e 100755
--- a/gurpmi.addmedia
+++ b/gurpmi.addmedia
@@ -23,8 +23,6 @@
# $Id$
use strict;
-use Rpmdrake::init;
-use Rpmdrake::open_db;
BEGIN {
@ARGV == 0 || "@ARGV" =~ /-h/ and do {
@@ -45,6 +43,8 @@ and [options] are from
exit(0);
};
}
+use Rpmdrake::init;
+use Rpmdrake::open_db;
use lib qw(/usr/lib/libDrakX);
use urpm::media;