Skip to content

Commit 0f56e76

Browse files
Remove unused runtimes in dotnet services
1 parent 1d9a667 commit 0f56e76

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

install/deb/debian/rules

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ override_dh_auto_build: check_archives
6060
bash plugins-build.sh ${BUILD_PATH}/plugins; \
6161
bash langflow-build.sh ${BUILD_PATH}/langflow
6262

63+
find ${SERVER_PATH}/publish -type d -name runtimes -exec find {} -mindepth 1 -maxdepth 1 -type d \! \( -name linux-arm64 -o -name linux-x64 \) -exec rm -rf {} + \;
64+
6365
find ${BUILDTOOLS_PATH}/install/common -type f -exec rename -f -v "s/product([^\/]*)$$/${PRODUCT}\$$1/g" {} ';'
6466

6567
find ${BUILD_PATH}/**/publish/ \

install/rpm/SPECS/build.spec

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ bash install/common/publish-backend.sh --srcpath %{_builddir}/server
1010
bash install/common/plugins-build.sh %{_builddir}/plugins
1111
bash install/common/langflow-build.sh %{_builddir}/langflow
1212

13+
find %{_builddir}/server/publish -type d -name runtimes -exec find {} -mindepth 1 -maxdepth 1 -type d \! \( -name linux-arm64 -o -name linux-x64 \) -exec rm -rf {} + \;
14+
1315
rename -f -v "s/product([^\/]*)$/%{product}\$1/g" install/common/*
1416

1517
rm -f config/nginx/onlyoffice-login.conf

0 commit comments

Comments
 (0)