From da938a661f38c6740f41e6fd585c2f2054ebc0c0 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (pluto.buetow.org)" Date: Sat, 7 Sep 2013 14:55:22 +0200 Subject: add configdev config --- index.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'index.pl') diff --git a/index.pl b/index.pl index 985af29..4442648 100755 --- a/index.pl +++ b/index.pl @@ -9,8 +9,9 @@ use Socket; use Sys::Hostname; my $host = hostname(); -my $config = -e "config-$host.txt" ? "config-$host.txt" : 'config.txt'; +my $config = -e "configdev-$host.txt" ? "configdev-$host.txt" : ( + -e "config-$host.txt" ? "config-$host.txt" : 'config.txt' +); my Xerl $xerl = Xerl->new( config => $config ); $xerl->run(); - -- cgit v1.2.3