mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
started moving away from legacy buildcache command -- process-archive.sh now will use ig by default.
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
542c5a04e3
commit
f74fb5893b
@ -328,15 +328,24 @@ fi
|
|||||||
|
|
||||||
# build cache...
|
# build cache...
|
||||||
if [ -z $SKIP_CACHE ] ; then
|
if [ -z $SKIP_CACHE ] ; then
|
||||||
# a little tweak to make build cache work...
|
|
||||||
export PYTHONIOENCODING=UTF-8
|
# ig...
|
||||||
|
if ! [ -z `command -v ig` ] ; then
|
||||||
|
CACHE="ig init"
|
||||||
|
# buildcache (legacy)...
|
||||||
|
elif [ -z `command -v buildcache` ] ; then
|
||||||
|
# a little tweak to make build cache work...
|
||||||
|
export PYTHONIOENCODING=UTF-8
|
||||||
|
CACHE=buildcache
|
||||||
|
fi
|
||||||
|
|
||||||
#if [ -z $TOTAL ] ; then
|
#if [ -z $TOTAL ] ; then
|
||||||
# export TOTAL=`find . -path '*hi-res (RAW)/*.jpg' | wc -l`
|
# export TOTAL=`find . -path '*hi-res (RAW)/*.jpg' | wc -l`
|
||||||
#fi
|
#fi
|
||||||
if ! [ -z "$COMMON_PREVIEWS" ] && [ -e "./$COMMON_PREVIEWS/preview (RAW)" ] ; then
|
if ! [ -z "$COMMON_PREVIEWS" ] && [ -e "./$COMMON_PREVIEWS/preview (RAW)" ] ; then
|
||||||
buildcache "./$COMMON_PREVIEWS/preview (RAW)"
|
$CACHE "./$COMMON_PREVIEWS/preview (RAW)"
|
||||||
else
|
else
|
||||||
find . -type d -name 'preview (RAW)' -exec buildcache "{}" \;
|
find . -type d -name 'preview (RAW)' -exec $CACHE "{}" \;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user