aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/init.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r--Rpmdrake/init.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index 6060ee60..a7c5e059 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -126,6 +126,7 @@ foreach my $option (qw(media mode parallel rpm-root search)) {
}
our $MODE = ref $rpmdrake_options{mode} ? $rpmdrake_options{mode}[0] : undef;
+our $overriding_config = defined $MODE;
unless ($MODE) {
$MODE = 'install';
$0 =~ m|remove$| and $MODE = 'remove';