summaryrefslogtreecommitdiffstats
path: root/MDK
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-08 22:19:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-08 22:19:53 +0000
commite0820e4f4e101bd8502f1f2bb0c1c0c7fd8b21e7 (patch)
treee7a3b33f4b68d35f7a071f3ad99a1aa1f0adb4e2 /MDK
parente239669ad09e0c21cd47182de725999849a248b6 (diff)
downloadperl-MDK-Common-e0820e4f4e101bd8502f1f2bb0c1c0c7fd8b21e7.tar
perl-MDK-Common-e0820e4f4e101bd8502f1f2bb0c1c0c7fd8b21e7.tar.gz
perl-MDK-Common-e0820e4f4e101bd8502f1f2bb0c1c0c7fd8b21e7.tar.bz2
perl-MDK-Common-e0820e4f4e101bd8502f1f2bb0c1c0c7fd8b21e7.tar.xz
perl-MDK-Common-e0820e4f4e101bd8502f1f2bb0c1c0c7fd8b21e7.zip
hash in boolean context is bad (dixit Rafael)
Diffstat (limited to 'MDK')
-rw-r--r--MDK/Common/System.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/System.pm b/MDK/Common/System.pm
index a864968..af96481 100644
--- a/MDK/Common/System.pm
+++ b/MDK/Common/System.pm
@@ -402,7 +402,7 @@ sub update_gnomekderc {
}
#- if category has not been found above.
- if (%subst) {
+ if (keys %subst) {
chomp $s;
$s .= "\n[$category]\n";
$s .= "$_->[0]=$_->[1]\n" foreach values %subst;