aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-28 13:54:50 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-28 13:54:50 +0000
commitb3224067c909bdabe28e590616b0c911d1c13df9 (patch)
treee29d88abfbd9cd40cebde7e472f01b9dd1b36e89
parent80f72f259f0c49a0e0c736445d337a9514b45cb4 (diff)
downloadrpmdrake-b3224067c909bdabe28e590616b0c911d1c13df9.tar
rpmdrake-b3224067c909bdabe28e590616b0c911d1c13df9.tar.gz
rpmdrake-b3224067c909bdabe28e590616b0c911d1c13df9.tar.bz2
rpmdrake-b3224067c909bdabe28e590616b0c911d1c13df9.tar.xz
rpmdrake-b3224067c909bdabe28e590616b0c911d1c13df9.zip
handle --help immediatly (#29971)
-rwxr-xr-xedit-urpm-sources.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl
index 162f601f..c32947a7 100755
--- a/edit-urpm-sources.pl
+++ b/edit-urpm-sources.pl
@@ -25,6 +25,7 @@
use strict;
use lib qw(/usr/lib/libDrakX);
+use standalone;
use rpmdrake;
use common;
use Rpmdrake::edit_urpm_sources;
@@ -35,9 +36,6 @@ BEGIN { #- for mcc
$::isEmbedded = 1;
}
}
-
-$::isStandalone = 1;
-
require_root_capability();
readconf();