Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud-config-converter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-02 12:49:42 +0300
committerMorris Jobke <hey@morrisjobke.de>2015-03-02 12:49:42 +0300
commit7f581c863e059d3b5d1d9cce8dd31f5c68a50785 (patch)
tree5b215df923d1b7b47b5294c5c718f588b2d87bc0
parentd6ca86cc72506d0a70db3de05b124270a1a081e2 (diff)
fix updated paths
-rwxr-xr-xupdateConfig.sh9
1 files 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