#!/bin/sh # This creates a gallery with MJ's default configuration set -e if [ -f gallery.cf ] ; then echo >&2 'gallery.cf already present, giving up!' exit 1 fi cat >gallery.cf <<'AMEN' use common::sense; my $gal = do '../../default.cf'; $gal->set( Title => "FIXME", # SubTitle => "", # AuthNeeded => 'rodina', ); return $gal; AMEN