aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-01-03 12:40:40 +0100
committerAngelo Naselli <anaselli@linux.it>2015-01-03 12:40:40 +0100
commitc0d31a4073c34cedaf08a1c7777592e9442812ee (patch)
tree7c966233ae6c7c5a77dff5f4e623d2f2a32c956c /lib
parentf9d1a7fa077bf2f5fb6e225aca79c2736d877ee6 (diff)
downloadmanatools-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar
manatools-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar.gz
manatools-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar.bz2
manatools-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar.xz
manatools-c0d31a4073c34cedaf08a1c7777592e9442812ee.zip
Sorting keys into .rpmdragora config file
Diffstat (limited to 'lib')
-rw-r--r--lib/AdminPanel/rpmdragora.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm
index 0bb4a58f..16c91257 100644
--- a/lib/AdminPanel/rpmdragora.pm
+++ b/lib/AdminPanel/rpmdragora.pm
@@ -248,7 +248,7 @@ sub writeconf() {
# special case:
$no_confirmation->[0] = $::rpmdragora_options{'no-confirmation'};
- MDK::Common::File::output($configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : '') . "\n" } keys %config);
+ MDK::Common::File::output($configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : '') . "\n" } sort keys %config);
}
sub getbanner() {