]> mj.ucw.cz Git - gallery.git/blob - bin/gal-mj-init
The big rename
[gallery.git] / bin / gal-mj-init
1 #!/bin/sh
2 set -e
3
4 if [ -f gallery.cf ] ; then
5         echo >&2 'gallery.cf already present, giving up!'
6         exit 1
7 fi
8
9 cat >gallery.cf <<'AMEN'
10 use strict;
11 use warnings;
12 use utf8;
13
14 my $gal = require '../../default.cf';
15 $gal->set(
16         Title => 'Unnamed',
17 );
18
19 return $gal;
20 AMEN