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.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/MDK/Common/System.pm b/MDK/Common/System.pm
index dcf24a7..c41485b 100644
--- a/MDK/Common/System.pm
+++ b/MDK/Common/System.pm
@@ -345,6 +345,7 @@ sub update_gnomekderc {
foreach (MDK::Common::File::cat_($file), "[NOCATEGORY]\n") {
if (my $i = /^\s*\[$category\]/i ... /^\[/) {
if ($i =~ /E/) { #- for last line of category
+ chomp $s; $s .= "\n";
$s .= "$_->[0]=$_->[1]\n" foreach values %subst;
%subst = ();
} elsif (/^\s*(\w*?)=/) {