diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-30 11:05:20 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-12-30 11:05:20 +0000 |
commit | bd091351b24bb5a5f406f4f428aa49a5bb82098d (patch) | |
tree | ef23cb0eaf1e9cdf169611b4a520cf77b855bc73 | |
parent | 76a10aae169d3eff63a6979477c56381af9dc053 (diff) | |
download | rpmdrake-bd091351b24bb5a5f406f4f428aa49a5bb82098d.tar rpmdrake-bd091351b24bb5a5f406f4f428aa49a5bb82098d.tar.gz rpmdrake-bd091351b24bb5a5f406f4f428aa49a5bb82098d.tar.bz2 rpmdrake-bd091351b24bb5a5f406f4f428aa49a5bb82098d.tar.xz rpmdrake-bd091351b24bb5a5f406f4f428aa49a5bb82098d.zip |
woops
-rwxr-xr-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |