www/onlyoffice-documentserver: Fix ds-cache.conf path

PR:		283445
This commit is contained in:
Mikael Urankar 2025-01-09 16:16:22 +01:00
parent b5f07ccdd2
commit 6c76f28cc8
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= onlyoffice-documentserver
DISTVERSIONPREFIX= v
DISTVERSION= 8.2.0.143
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= www
MASTER_SITES+= LOCAL/mikael/v8/:source1 \
LOCAL/mikael/onlyoffice/:source2 \

View file

@ -5,7 +5,7 @@
# Save the hash to a variable in the configuration file
-echo "set \$cache_tag \"$HASH\";" > /etc/nginx/includes/ds-cache.conf
+echo "set \$cache_tag \"$HASH\";" > %%ETCDIR%%/etc/nginx/includes/ds-cache.conf
+echo "set \$cache_tag \"$HASH\";" > %%ETCDIR%%/documentserver/nginx/includes/ds-cache.conf
-API_PATH="/var/www/M4_DS_PREFIX/web-apps/apps/api/documents/api.js"
+API_PATH="%%LOCALBASE%%/www/M4_DS_PREFIX/web-apps/apps/api/documents/api.js"