summaryrefslogtreecommitdiffstats
path: root/MDK/Common/System.pm
diff options
context:
space:
mode:
Diffstat (limited to 'MDK/Common/System.pm')
-rw-r--r--MDK/Common/System.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/MDK/Common/System.pm b/MDK/Common/System.pm
index f4c1491..dcf24a7 100644
--- a/MDK/Common/System.pm
+++ b/MDK/Common/System.pm
@@ -358,7 +358,8 @@ sub update_gnomekderc {
#- if category has not been found above.
if (%subst) {
- $s .= "[$category]\n";
+ chomp $s;
+ $s .= "\n[$category]\n";
$s .= "$_->[0]=$_->[1]\n" foreach values %subst;
}