From 7f581c863e059d3b5d1d9cce8dd31f5c68a50785 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 2 Mar 2015 10:49:42 +0100 Subject: fix updated paths --- updateConfig.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/updateConfig.sh b/updateConfig.sh index 0c8c881..15402c1 100755 --- a/updateConfig.sh +++ b/updateConfig.sh @@ -23,8 +23,13 @@ do # download current version of config.sample.php curl -sS -o /tmp/config.sample.php https://raw.githubusercontent.com/owncloud/core/$branch/config/config.sample.php - # use that to generate the documentation - php convert.php --input-file=/tmp/config.sample.php --output-file=/tmp/owncloud-documentation/admin_manual/configuration/config_sample_php_parameters.rst + if [[ $branch == 'stable8' ]]; then + # use that to generate the documentation + php convert.php --input-file=/tmp/config.sample.php --output-file=/tmp/owncloud-documentation/admin_manual/configuration_server/config_sample_php_parameters.rst + else + # use that to generate the documentation + php convert.php --input-file=/tmp/config.sample.php --output-file=/tmp/owncloud-documentation/admin_manual/configuration/config_sample_php_parameters.rst + fi cd /tmp/owncloud-documentation # invokes an output if something has changed -- cgit v1.2.3