forcefully update php files

This commit is contained in:
Daniel Wolf 2021-04-30 15:01:13 -04:00
parent 3f99dfeda4
commit a77127d486
Signed by: nephatrine
GPG Key ID: F402AF4822FB01F5
2 changed files with 7 additions and 6 deletions

View File

@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bash
if [[ ! -d /mnt/media/_h5ai ]]; then
s6-setuidgid guardian mkdir -p /mnt/media/_h5ai
fi
s6-setuidgid guardian cp -Rn /var/www/html/_h5ai/* /mnt/media/_h5ai/
s6-setuidgid guardian cp -R /var/www/html/_h5ai/private/php/* /mnt/media/_h5ai/private/php/

View File

@ -1,6 +0,0 @@
#!/usr/bin/with-contenv bash
if [[ ! -d /mnt/media/_h5ai ]]; then
s6-setuidgid guardian mkdir -p /mnt/media/_h5ai
s6-setuidgid guardian cp -Rn /var/www/html/_h5ai/* /mnt/media/_h5ai/
fi