mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Merge pull request #844 from benbrummer/debian
Change mv to cp for public folder update
This commit is contained in:
5
debian/scripts/init.sh
vendored
5
debian/scripts/init.sh
vendored
@@ -21,10 +21,11 @@ if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
||||
rm -rf /var/www/html/public/.htaccess \
|
||||
/var/www/html/public/.well-known \
|
||||
/var/www/html/public/*
|
||||
mv /tmp/public/* \
|
||||
cp -r /tmp/public/* \
|
||||
/tmp/public/.htaccess \
|
||||
/tmp/public/.well-known \
|
||||
/var/www/html/public/
|
||||
/var/www/html/public/ && \
|
||||
rm -rf /tmp/public/*
|
||||
fi
|
||||
echo "Public Folder is up to date"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user