Optimize unnecessary substitution of postman value
This commit is contained in:
parent
92194e786b
commit
c94448c0e1
@ -222,8 +222,8 @@ set_core_machinekey () {
|
||||
fi
|
||||
fi
|
||||
|
||||
$JSON_USERCONF "this.core={'base-domain': \"$APP_HOST\", 'machinekey': \"$CORE_MACHINEKEY\", 'notify': { 'postman': \"services\" }}" >/dev/null 2>&1
|
||||
$JSON $APP_DIR/apisystem.$ENVIRONMENT.json -e "this.core={'base-domain': \"$APP_HOST\", 'machinekey': \"$CORE_MACHINEKEY\", 'notify': { 'postman': \"services\" }}" >/dev/null 2>&1
|
||||
$JSON_USERCONF "this.core={'base-domain': \"$APP_HOST\", 'machinekey': \"$CORE_MACHINEKEY\"}" >/dev/null 2>&1
|
||||
$JSON $APP_DIR/apisystem.$ENVIRONMENT.json -e "this.core={'base-domain': \"$APP_HOST\", 'machinekey': \"$CORE_MACHINEKEY\"}" >/dev/null 2>&1
|
||||
sed "s^\(machine_key\)\s*=.*^\1 = ${CORE_MACHINEKEY}^g" -i $APP_DIR/radicale.config
|
||||
}
|
||||
|
||||
|
@ -46,6 +46,9 @@ override_dh_auto_build:
|
||||
|
||||
find ${SRC_PATH}/config/ -type f -regex '.*\.\(test\|dev\).*' -delete
|
||||
|
||||
json -I -f ${SRC_PATH}/config/appsettings.json -e "this.core.notify.postman=\"services\""
|
||||
json -I -f ${SRC_PATH}/config/apisystem.json -e "this.core.notify.postman=\"services\""
|
||||
|
||||
for i in ${PRODUCT} $$(ls ${CURRENT_PATH}/debian/*.install | grep -oP 'debian/\K.*' | grep -o '^[^.]*'); do \
|
||||
cp ${CURRENT_PATH}/debian/source/lintian-overrides ${CURRENT_PATH}/debian/$$i.lintian-overrides; \
|
||||
done
|
||||
|
@ -17,6 +17,9 @@ json -I -f %{_builddir}/%{sourcename}/config/appsettings.services.json -e "this.
|
||||
|
||||
find %{_builddir}/%{sourcename}/config/ -type f -regex '.*\.\(test\|dev\).*' -delete
|
||||
|
||||
json -I -f %{_builddir}/%{sourcename}/config/appsettings.json -e "this.core.notify.postman=\"services\""
|
||||
json -I -f %{_builddir}/%{sourcename}/config/apisystem.json -e "this.core.notify.postman=\"services\""
|
||||
|
||||
find %{_builddir}/%{sourcename}/publish/ \
|
||||
%{_builddir}/%{sourcename}/ASC.Migration.Runner \
|
||||
-depth -type f -regex '.*\(dll\|dylib\|so\)$' -exec chmod 755 {} \;
|
||||
|
Loading…
Reference in New Issue
Block a user