mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +00:00
owncloud: fix latest commit
This commit is contained in:
parent
98ba78a9f0
commit
964feb5cb5
@ -7,7 +7,9 @@ crontab -u www-data /etc/cron.conf
|
||||
if [ -f /owncloud/config/config.php ] && [ ! -f /config/config.php ]; then
|
||||
cp /owncloud/config/config.php /config/config.php
|
||||
elif [ -f /config/config.php ]; then
|
||||
sed -i "s/.*version.*/`grep "version" \/owncloud\/config\/config.php`/" /config/config.php
|
||||
if [ -f /owncloud/config/config.php ]; then
|
||||
sed -i "s/.*version.*/`grep "version" \/owncloud\/config\/config.php`/" /config/config.php
|
||||
fi
|
||||
mv /owncloud/config/config.php /config/config.php.bkp
|
||||
cp /config/config.php /owncloud/config/config.php
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user