Only run updater if we have a LocalSettings.php available
This commit is contained in:
8
setup.sh
8
setup.sh
@@ -14,6 +14,8 @@ if [[ ! -h /app/images ]]; then
|
||||
ln -s /var/lib/mediawiki/images /app/images
|
||||
fi
|
||||
|
||||
# Run updater
|
||||
cd /app/maintenance
|
||||
php update.php
|
||||
# Run updater if we have an existing install
|
||||
if [[ -e /var/lib/mediawiki/LocalSettings.php ]]; then
|
||||
cd /app/maintenance
|
||||
php update.php
|
||||
fi
|
||||
|
Reference in New Issue
Block a user