#!/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 = require '../../default.cf'; $gal->set( Title => 'Unnamed', ); return $gal; AMEN