mirror of
https://github.com/standardebooks/web.git
synced 2025-07-14 10:31:59 -04:00
Ensure that www/images/covers exists and belongs to the correct group.
This commit is contained in:
parent
b1c863ed93
commit
e5b611c315
1 changed files with 5 additions and 1 deletions
|
@ -37,6 +37,8 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
mkdir -p /standardebooks.org/www/images/covers/
|
||||
|
||||
for dir in "$@"
|
||||
do
|
||||
if [ "${dir}" = "" ] || [ "${dir}" = "-v" ] || [ "${dir}" = "--verbose" ]; then
|
||||
|
@ -146,9 +148,11 @@ do
|
|||
rm --preserve-root --recursive --force "${workDir}" "${imgWorkDir}"
|
||||
|
||||
sudo chgrp --preserve-root --recursive se "${webDir}"
|
||||
|
||||
sudo chmod --preserve-root --recursive g+ws "${webDir}"
|
||||
|
||||
sudo chgrp --preserve-root --recursive se "/standardebooks.org/www/images/covers/"
|
||||
sudo chmod --preserve-root --recursive g+ws "/standardebooks.org/www/images/covers/"
|
||||
|
||||
if [ "${verbose}" = "true" ]; then
|
||||
printf "Flushing PHP-FPM opcache and apcu cache ... "
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue