aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-07-23 18:22:24 -0400
committerThedro Neely <thedroneely@gmail.com>2019-07-23 18:22:24 -0400
commitb327b735a71e43b61eb16991904df242796e9e30 (patch)
treede26f60a9ce8abe0e01c9e8ff1ece1c6d5f6285f /bootstrap
parent183badca97b4888c7a4d40bf557dd6669e333575 (diff)
downloadthedroneely.com-b327b735a71e43b61eb16991904df242796e9e30.tar.gz
thedroneely.com-b327b735a71e43b61eb16991904df242796e9e30.tar.bz2
thedroneely.com-b327b735a71e43b61eb16991904df242796e9e30.zip
bootstrap/helpers/update-thumbnails: Use root directory set by webserver
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/helpers/update-thumbnails2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/helpers/update-thumbnails b/bootstrap/helpers/update-thumbnails
index b838769..7175794 100755
--- a/bootstrap/helpers/update-thumbnails
+++ b/bootstrap/helpers/update-thumbnails
@@ -1,6 +1,6 @@
#!/bin/bash
-cd /srv/http/staging/thedroneely.com/public/images || exit 1;
+cd images/ && touch .update-thumbnails || exit 1;
mogrify -path thumbnails/ -auto-orient -quiet -thumbnail x222 $(find . -maxdepth 1 -type f -mtime -1) || echo 'No Images Updated.' && exit 1;
rename jpg png thumbnails/*;
echo Image Thumbnails in "'$(pwd)'" updated.;