]> mj.ucw.cz Git - gallery.git/blob - bin/gal-mj-init
gal-mj-digikam: Use image title
[gallery.git] / bin / gal-mj-init
1 #!/bin/sh
2 # This creates a gallery with MJ's default configuration
3
4 set -e
5
6 if [ -f gallery.cf ] ; then
7         echo >&2 'gallery.cf already present, giving up!'
8         exit 1
9 fi
10
11 cat >gallery.cf <<'AMEN'
12 use common::sense;
13
14 my $gal = do '../../default.cf';
15 $gal->set(
16         Title => "FIXME",
17         # SubTitle => "",
18         # AuthNeeded => 'rodina',
19 );
20
21 return $gal;
22 AMEN