aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index eda24950..7609c3e7 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();