diff options
-rw-r--r-- | MDK/Common/System.pm | 3 | ||||
-rw-r--r-- | perl-MDK-Common.spec | 5 |
2 files changed, 6 insertions, 2 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; } diff --git a/perl-MDK-Common.spec b/perl-MDK-Common.spec index 97f71f1..39fe8f7 100644 --- a/perl-MDK-Common.spec +++ b/perl-MDK-Common.spec @@ -2,7 +2,7 @@ # do not change the version here, change in MDK/Common.pm.pl %define version THEVERSION -%define release 14mdk +%define release 15mdk Summary: Various simple functions Name: perl-MDK-Common @@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT # MODIFY IN THE CVS: cvs.mandrakesoft.com:/cooker soft/perl-MDK-Common %changelog +* Fri Sep 6 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-15mdk +- MDK::Common::System::update_gnomekderc: fix adding section when the file doesn't end with a cr + * Wed Aug 28 2002 Pixel <pixel@mandrakesoft.com> 1.0.3-14mdk - no function "xxx undefined" when using "#-#" |