Only run updater if we have a LocalSettings.php available
This commit is contained in:
parent
aa49496b53
commit
e3f1b05c1b
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user