Source the file .bpgallery.rc in the directory that we're pointed to for gallery specific options.
git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/bpgallery--mainline--1.0--patch-14
. $HOME/.bpgallery.rc 2>/dev/null
fi
. $HOME/.bpgallery.rc 2>/dev/null
fi
+if [[ -e $1 && -d $1 && -e $1/.bpgallery.rc ]]; then
+ . $1/.bpgallery.rc 2>/dev/null
+fi
+
if [[ -z ${BPGALLERY_THEME} ]]; then
BPGALLERY_THEME=default
fi
if [[ -z ${BPGALLERY_THEME} ]]; then
BPGALLERY_THEME=default
fi