Loading entrypoint.sh +5 −3 Original line number Diff line number Diff line Loading @@ -9,13 +9,15 @@ if [[ -e "$tarball" ]]; then # Deploy last version from tarball. tar --extract --gzip --strip-components=1 --file "$tarball" --no-same-owner # Install default .htaccess mv .htaccess.dist conf/apache.conf.dist [[ -e conf/apache.conf ]] || cp conf/apache.conf.dist conf/apache.conf [[ -e .htaccess ]] || ln -s conf/apache.conf .htaccess # Set file spermissions. chown -vR www-data:www-data conf data lib/{tpl,plugins} chmod -v 750 conf data # Install default .htaccess [[ -e .htaccess ]] || mv -v .htaccess.dist .htaccess # Remove deleted files. grep -Ev '^($|#)' data/deleted.files | xargs -n 1 rm -vf Loading Loading
entrypoint.sh +5 −3 Original line number Diff line number Diff line Loading @@ -9,13 +9,15 @@ if [[ -e "$tarball" ]]; then # Deploy last version from tarball. tar --extract --gzip --strip-components=1 --file "$tarball" --no-same-owner # Install default .htaccess mv .htaccess.dist conf/apache.conf.dist [[ -e conf/apache.conf ]] || cp conf/apache.conf.dist conf/apache.conf [[ -e .htaccess ]] || ln -s conf/apache.conf .htaccess # Set file spermissions. chown -vR www-data:www-data conf data lib/{tpl,plugins} chmod -v 750 conf data # Install default .htaccess [[ -e .htaccess ]] || mv -v .htaccess.dist .htaccess # Remove deleted files. grep -Ev '^($|#)' data/deleted.files | xargs -n 1 rm -vf Loading