From 98ba78a9f098092b1f503db300a9940ceab7b74f Mon Sep 17 00:00:00 2001 From: Wonderfall Date: Sat, 30 Apr 2016 11:31:13 +0200 Subject: [PATCH] owncloud: fix version directive after upgrade --- owncloud/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/owncloud/run.sh b/owncloud/run.sh index 4046e1b..3f5c4cc 100644 --- a/owncloud/run.sh +++ b/owncloud/run.sh @@ -7,6 +7,7 @@ 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 mv /owncloud/config/config.php /config/config.php.bkp cp /config/config.php /owncloud/config/config.php fi