diff --git a/spk/owncloud/Makefile b/spk/owncloud/Makefile index 7277a5cd04e..6eabe389a5d 100644 --- a/spk/owncloud/Makefile +++ b/spk/owncloud/Makefile @@ -1,6 +1,6 @@ SPK_NAME = owncloud SPK_VERS = 10.13.3 -SPK_REV = 14 +SPK_REV = 15 SPK_ICON = src/owncloud.png DEPENDS = cross/owncloud diff --git a/spk/owncloud/src/wizard_templates/install_uifile.sh b/spk/owncloud/src/wizard_templates/install_uifile.sh index 238414b9e99..f14c575b524 100644 --- a/spk/owncloud/src/wizard_templates/install_uifile.sh +++ b/spk/owncloud/src/wizard_templates/install_uifile.sh @@ -5,7 +5,6 @@ if [ -z ${SYNOPKG_PKGDEST_VOL} ]; then SYNOPKG_PKGDEST_VOL="/volume1" fi SHAREDIR="${SYNOPKG_PKGNAME}" -DIR_VALID="/^[\\w _-]+$/" quote_json () { @@ -144,12 +143,11 @@ EOF check_php_profiles () { PHP_CFG_PATH="/usr/syno/etc/packages/WebStation/PHPSettings.json" - if [ "${SYNOPKG_DSM_VERSION_MAJOR}" -lt 7 ]; then - if jq -e 'to_entries | map(select((.key | startswith("com-synocommunity-packages-")) and .key != "com-synocommunity-packages-owncloud")) | length > 0' "${PHP_CFG_PATH}" >/dev/null; then - return 0 # true - else - return 1 # false - fi + if [ "${SYNOPKG_DSM_VERSION_MAJOR}" -lt 7 ] && \ + jq -e 'to_entries | map(select((.key | startswith("com-synocommunity-packages-")) and .key != "com-synocommunity-packages-owncloud")) | length > 0' "${PHP_CFG_PATH}" >/dev/null; then + return 0 # true + else + return 1 # false fi } @@ -195,7 +193,7 @@ PAGE_ADMIN_CONFIG=$(/bin/cat<