mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 09:50:09 +00:00
added buldcache to process-archive.sh (still ugly)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
88d3a3accf
commit
312f14b921
@ -95,6 +95,14 @@ if [[ $ARCHIVE_ROOT == "." ]] ; then
|
||||
# XXX do different-sized previews...
|
||||
makepreview "$SIZE" "./$FROM" "./$TO"
|
||||
done
|
||||
|
||||
# pre-build cache...
|
||||
for p in */DCIM/preview\ \(RAW\)/ ; do
|
||||
if ! [ -e "./$p" ] ; then
|
||||
continue
|
||||
fi
|
||||
buildcache "./$p"
|
||||
done
|
||||
else
|
||||
for FROM in ./DCIM/hi-res\ \(RAW\)/*jpg ; do
|
||||
TO="${FROM/hi-res\ /preview }"
|
||||
@ -102,6 +110,14 @@ else
|
||||
# XXX do different-sized previews...
|
||||
makepreview "$SIZE" "./$FROM" "./$TO"
|
||||
done
|
||||
|
||||
# pre-build cache...
|
||||
for p in ./DCIM/preview\ \(RAW\)/ ; do
|
||||
if ! [ -e "./$p" ] ; then
|
||||
continue
|
||||
fi
|
||||
buildcache "./$p"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
|
||||
7
setup.py
7
setup.py
@ -2,7 +2,7 @@
|
||||
#=======================================================================
|
||||
|
||||
__version__ = '''0.1.12'''
|
||||
__sub_version__ = '''20130714221612'''
|
||||
__sub_version__ = '''20130801195557'''
|
||||
__copyright__ = '''(c) Alex A. Naanou 2003'''
|
||||
|
||||
|
||||
@ -64,7 +64,10 @@ setup(
|
||||
include_package_data = True,
|
||||
|
||||
packages = [],
|
||||
py_modules = ['buildcache'],
|
||||
py_modules = [
|
||||
'buildcache',
|
||||
'gid',
|
||||
],
|
||||
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user