diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2021-08-19 10:32:15 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2021-08-19 10:32:15 +0300 |
| commit | ac9c52a68e87bd166d110d0e1995ad254a81befe (patch) | |
| tree | b217d6b4f9c79c0ace3706217401c419da752b02 /art | |
| parent | b072c092fb6d83a88fcecfa6201d0c80c369d1f4 (diff) | |
| download | aaoth.xyz-ac9c52a68e87bd166d110d0e1995ad254a81befe.tar.gz aaoth.xyz-ac9c52a68e87bd166d110d0e1995ad254a81befe.zip | |
fix thumbnail regeneration on every push
i hope it will finally work...
git post-receive hook is the same, but jekyll now shouldn't purge all
generated thumbnails.
Diffstat (limited to 'art')
| -rwxr-xr-x | art/thumbs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/art/thumbs.sh b/art/thumbs.sh index 71be5b4..3c1a633 100755 --- a/art/thumbs.sh +++ b/art/thumbs.sh @@ -28,7 +28,7 @@ for dir in $_img_dirs do cd "./$dir" || exit 1 - [ -d "$_thumbs_dir" ] || mkdir "$_thumbs_dir" + mkdir -p "$_thumbs_dir" _imgs="$(find . -maxdepth 1 \ -iname "*.jpg" -or \ |
