aboutsummaryrefslogtreecommitdiffstats
path: root/modules/phpbb/files
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-02-15 16:13:13 +0000
committerMichael Scherer <misc@mageia.org>2011-02-15 16:13:13 +0000
commitccaadaa236de86460f2483408fdb0c3b9335f3ad (patch)
tree5a88d00b624a0ef56b0de839d49afd6fbab82f23 /modules/phpbb/files
parent407bc1cd1f421a5dd3e3fcd97929f31eecc03b47 (diff)
downloadpuppet-ccaadaa236de86460f2483408fdb0c3b9335f3ad.tar
puppet-ccaadaa236de86460f2483408fdb0c3b9335f3ad.tar.gz
puppet-ccaadaa236de86460f2483408fdb0c3b9335f3ad.tar.bz2
puppet-ccaadaa236de86460f2483408fdb0c3b9335f3ad.tar.xz
puppet-ccaadaa236de86460f2483408fdb0c3b9335f3ad.zip
fix error in the perl script, argument start at 0, unlike C
Diffstat (limited to 'modules/phpbb/files')
-rw-r--r--modules/phpbb/files/phpbb_apply_config.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/phpbb/files/phpbb_apply_config.pl b/modules/phpbb/files/phpbb_apply_config.pl
index fd0282d1..6b550013 100644
--- a/modules/phpbb/files/phpbb_apply_config.pl
+++ b/modules/phpbb/files/phpbb_apply_config.pl
@@ -4,10 +4,10 @@ use warnings;
use Env qw(VALUE);
use DBI;
+my $key = $ARGV[O];
+
# DBI will use default value coming from env
# see puppet manifests
-my $key = $ARGV[1];
-
my $dbh = DBI->connect("dbi:Pg:","","");
my $table = "phpbb_config";