--- scripts/pgallery/src/pgalleryindex.sh 2013/04/03 08:06:45 1.4 +++ scripts/pgallery/src/pgalleryindex.sh 2017/12/07 14:24:00 1.6 @@ -1,11 +1,12 @@ #!/usr/local/libexec/pgallerysh # -# THE BEER-WARE LICENSE 2012 +# THE BEER-WARE LICENSE 2012,13 + # wrote this file. As long as you retain this notice you # can do whatever you want with this stuff. If we meet some day, and you think # this stuff is worth it, you can buy me a beer in return Aron Schlesinger # -# $Paefchen: scripts/pgallery/src/pgalleryindex.sh,v 1.3 2012/09/11 16:47:16 as Exp $ +# $Paefchen: scripts/pgallery/src/pgalleryindex.sh,v 1.5 2013/04/03 08:33:29 as Exp $ # . /usr/local/libexec/libpgallery @@ -98,8 +99,11 @@ DIRS= for dir in $(find . -type d -maxdepth 1 -mindepth 1) do test -f "$dir/$ARGFILE" || continue + ARG_INDEXIMG= + ARG_NOINDEX= . "$dir/$ARGFILE" test "$ARG_INDEXIMG" = "" && continue + test "$ARG_NOINDEX" != "" && continue DIRS="$DIRS $dir" done