Skip to content

Commit

Permalink
Fix syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Feb 8, 2012
1 parent 841a692 commit 2889ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wre/sbin/wredemosetup.pl
Expand Up @@ -34,11 +34,11 @@
my $host = WRE::Host->new(wreConfig => $config);
my $file = WRE::File->new(wreConfig => $config);

if ($config->get('demo/enabled') {
if ($config->get('demo/enabled')) {
say "Setting up demo files";
$file->makePath($config->getDomainRoot("/demo"));
$file->copy($config->getRoot("/var/setupfiles/demo.nginx"), $config->getRoot("/etc/demo.nginx"),
{ force => 1, processTemplate => 1, );
{ force => 1, processTemplate => 1, } );
}
else {
say "Skipping demo files";
Expand Down

0 comments on commit 2889ad6

Please sign in to comment.