From 1e7d76672c8e158b99cd3f797ff45768e5739df7 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 4 Apr 2024 16:03:00 +0200 Subject: [PATCH] Fix fix build script when package exist in custom overlay --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 66bff62f..229dc5a1 100755 --- a/build.sh +++ b/build.sh @@ -836,8 +836,9 @@ fi #rm -rf feeds/packages/libs/libwebp cd "../../.." rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-network -[ -d feeds/${OMR_DIST}/${OMR_KERNEL}/luci-mod-status ] && rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-status -[ -d feeds/${OMR_DIST}/${OMR_KERNEL}/luci-app-statistics ] && rm -rf feeds/${OMR_KERNEL}/luci/applications/luci-app-statistics + +[ -d feeds/${OMR_KERNEL}/${OMR_DIST}/luci-mod-status ] && rm -rf feeds/${OMR_KERNEL}/luci/modules/luci-mod-status +[ -d feeds/${OMR_KERNEL}/${OMR_DIST}/luci-app-statistics ] && rm -rf feeds/${OMR_KERNEL}/luci/applications/luci-app-statistics #[ -d feeds/${OMR_DIST}/luci-proto-modemmanager ] && rm -rf feeds/${OMR_KERNEL}/luci/protocols/luci-proto-modemmanager #if [ -d ${OMR_FEED}/netifd ] && [ "${OMR_KERNEL}" != "5.4" ]; then # rm -rf ${OMR_TARGET}/${OMR_KERNEL}/source/package/network/config/netifd