]> mj.ucw.cz Git - gallery.git/blobdiff - bin/gal-mj-init
Cleaned up MJ's hacks
[gallery.git] / bin / gal-mj-init
index 11052544ca3aaf55a7ab94fb3068c72f02f7560a..adceebe6e18678a0827679d35bd19b239023f75f 100755 (executable)
@@ -1,4 +1,6 @@
 #!/bin/sh
 #!/bin/sh
+# This creates a gallery with MJ's default configuration
+
 set -e
 
 if [ -f gallery.cf ] ; then
 set -e
 
 if [ -f gallery.cf ] ; then
@@ -7,9 +9,7 @@ if [ -f gallery.cf ] ; then
 fi
 
 cat >gallery.cf <<'AMEN'
 fi
 
 cat >gallery.cf <<'AMEN'
-use strict;
-use warnings;
-use utf8;
+use common::sense;
 
 my $gal = require '../../default.cf';
 $gal->set(
 
 my $gal = require '../../default.cf';
 $gal->set(