owncloud: 7.0.5 -> 7.0.10 +

Commit changes default version to 7.0.10, 7.0.5 version is kept for
people reluctant to update. Needed info has also been added for
versions 8.0, 8.1 and 8.2 only the latest minor version of each
major version is included.
This commit is contained in:
Augustin Borsu
2015-12-02 20:36:40 +01:00
committed by Matej Cotman
parent e08ffc472c
commit 16fd6c1cf0
3 changed files with 62 additions and 20 deletions
@@ -573,7 +573,11 @@ rec {
${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/psql -h "/tmp" -U postgres -d ${config.dbName} -Atw -c "$QUERY" || true
fi
${php}/bin/php ${pkgs.owncloud}/occ upgrade || true
if [ -e ${pkgs.owncloud}/config/ca-bundle.crt ]; then
cp -f ${pkgs.owncloud}/config/ca-bundle.crt ${config.dataDir}/config/
fi
${php}/bin/php ${pkgs.owncloud}/occ upgrade >> ${config.dataDir}/upgrade.log || true
chown wwwrun:wwwrun ${config.dataDir}/owncloud.log || true