mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 11:37:26 +01:00
Fix syntax to match other folders
This commit is contained in:
2
debian/scripts/init.sh
vendored
2
debian/scripts/init.sh
vendored
@@ -10,6 +10,7 @@ fi
|
||||
if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
||||
|
||||
# Check for required folders and create if needed
|
||||
[ -d /var/www/html/public] || mkdir -p /var/www/html/public
|
||||
[ -d /var/www/html/storage/app/public ] || mkdir -p /var/www/html/storage/app/public
|
||||
[ -d /var/www/html/storage/framework/sessions ] || mkdir -p /var/www/html/storage/framework/sessions
|
||||
[ -d /var/www/html/storage/framework/views ] || mkdir -p /var/www/html/storage/framework/views
|
||||
@@ -21,7 +22,6 @@ 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/*
|
||||
mkdir -p /var/www/html/public
|
||||
cp -r /tmp/public/* \
|
||||
/tmp/public/.htaccess \
|
||||
/tmp/public/.well-known \
|
||||
|
||||
Reference in New Issue
Block a user