File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ override_dh_auto_build: check_archives
60
60
bash plugins-build.sh ${BUILD_PATH} /plugins; \
61
61
bash langflow-build.sh ${BUILD_PATH} /langflow
62
62
63
+ find ${SERVER_PATH}/publish/ -type d -name runtimes -print0 | while IFS= read -r -d '' RUNTIMES_DIR; do \
64
+ find "$$RUNTIMES_DIR" -mindepth 1 -maxdepth 1 -type d ! \( -name linux-arm64 -o -name linux-x64 \) -exec rm -rf {} \; \
65
+ done
66
+
63
67
find ${BUILDTOOLS_PATH}/install/common -type f -exec rename -f -v "s/product([^\/]*)$$/${PRODUCT}\$$1/g" {} ';'
64
68
65
69
find ${BUILD_PATH}/**/publish/ \
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ bash install/common/publish-backend.sh --srcpath %{_builddir}/server
10
10
bash install/common/plugins-build.sh %{_builddir }/plugins
11
11
bash install/common/langflow-build.sh %{_builddir }/langflow
12
12
13
+ find %{_builddir }/server/publish/ -type d -name runtimes -print0 | while IFS= read -r -d '' RUNTIMES_DIR; do
14
+ find "$RUNTIMES_DIR" -mindepth 1 -maxdepth 1 -type d ! \( -name linux-arm64 -o -name linux-x64 \) -exec rm -rf {} \;
15
+ done
16
+
13
17
rename -f -v "s/product([^\/]*)$/%{product }\$1/g" install/common/*
14
18
15
19
rm -f config/nginx/onlyoffice-login.conf
You can’t perform that action at this time.
0 commit comments