Fix config being overwritten

This commit is contained in:
Adam 2021-07-02 17:52:55 +01:00 committed by GitHub
parent 69045f1d09
commit 18bdad3bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,11 @@ if [ ! -f /config/phpmyadmin/config.user.inc.php ]; then
touch /config/phpmyadmin/config.user.inc.php
fi
if [ ! -f /config.user.inc.php ]; then
if [ ! -f /config/phpmyadmin/config.inc.php ]; then
cp /defaults/config.inc.php /config/phpmyadmin/config.inc.php
fi
chown -R abc:abc \
/config
find /app -print0 | xargs -P "$(nproc)" -I {} -0 chown abc:abc {}
find /app -print0 | xargs -P "$(nproc)" -I {} -0 chown abc:abc {}