aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel
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/AdminPanel
parentf9d1a7fa077bf2f5fb6e225aca79c2736d877ee6 (diff)
downloadcolin-keep-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar
colin-keep-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar.gz
colin-keep-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar.bz2
colin-keep-c0d31a4073c34cedaf08a1c7777592e9442812ee.tar.xz
colin-keep-c0d31a4073c34cedaf08a1c7777592e9442812ee.zip
Sorting keys into .rpmdragora config file
Diffstat (limited to 'lib/AdminPanel')
-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 0bb4a58..16c9125 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() {