]> git.sommitrealweird.co.uk Git - bpgallery.git/blobdiff - bpgallery.sh
Reversion for arch development
[bpgallery.git] / bpgallery.sh
index abcfafa70a027a92d62e8a35c167adfce4b1e293..f6fdfedb7c6e75a722e63d4614428ed3b5585e71 100755 (executable)
@@ -19,7 +19,7 @@
 
 set -f
 
-VERSION="1.0.1+arch"
+VERSION="1.0.2+arch"
 
 function bpgallery_default_head() {
 cat <<END
@@ -142,6 +142,10 @@ if [[ -e $HOME/.bpgallery.rc ]]; then
        . $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