summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/attachments/20101108/a7bc2d4d/attachment.bin
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/attachments/20101108/a7bc2d4d/attachment.bin')
-rw-r--r--zarb-ml/mageia-sysadm/attachments/20101108/a7bc2d4d/attachment.bin28
1 files changed, 28 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/attachments/20101108/a7bc2d4d/attachment.bin b/zarb-ml/mageia-sysadm/attachments/20101108/a7bc2d4d/attachment.bin
new file mode 100644
index 000000000..42c5bfd1a
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/attachments/20101108/a7bc2d4d/attachment.bin
@@ -0,0 +1,28 @@
+Index: iurt2
+===================================================================
+--- iurt2 (revision 103)
++++ iurt2 (working copy)
+@@ -388,14 +388,16 @@
+ chomp $real_arch;
+ my $HOME = $ENV{HOME};
+ my $configfile = "$HOME/.iurt.$run{distro_tag}.conf";
++my $sysconfigfile = "/etc/iurt/$run{distro_tag}.conf";
+
+-plog('DEBUG', "load config: $configfile");
+-my $config;
+-if (-f $configfile) {
+- $config = eval(cat_($configfile))
+- or die "FATAL $program_name: syntax error in $configfile";
+-} else {
+- $config = {};
++my $config = {};
++foreach my $f ($configfile, $sysconfigfile) {
++ plog('DEBUG', "load config: $f");
++ if (-f $f) {
++ $config = eval(cat_($f))
++ or die "FATAL $program_name: syntax error in $f";
++ last;
++ }
+ }
+
+ if ($run{repository}) {