aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-30 11:05:41 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-30 11:05:41 +0000
commit5502e7014c338f42074d3159f2176b6f38c657fc (patch)
treea63ead129f9f1b5da4aa80cb4f41ac7ed0c0ecf0
parentbd091351b24bb5a5f406f4f428aa49a5bb82098d (diff)
downloadrpmdrake-5502e7014c338f42074d3159f2176b6f38c657fc.tar
rpmdrake-5502e7014c338f42074d3159f2176b6f38c657fc.tar.gz
rpmdrake-5502e7014c338f42074d3159f2176b6f38c657fc.tar.bz2
rpmdrake-5502e7014c338f42074d3159f2176b6f38c657fc.tar.xz
rpmdrake-5502e7014c338f42074d3159f2176b6f38c657fc.zip
*** empty log message ***
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 7609c3e7..0e68049a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -49,8 +49,8 @@ $collation_locale =~ /UTF-8/ or setlocale(LC_COLLATE, "$collation_locale.UTF-8")
$MODE = 'install';
-$0 =~ m|remove$| and $MODE = 'remove';
-$0 =~ m|update$|i and $MODE = 'update';
+$0 =~ m|remove$| and $MODE = 'remove';
+$0 =~ m|update$|i and $MODE = 'update';
$MODE eq 'update' || "@ARGV" =~ /--root/ and require_root_capability();