diff --git a/scripts/merge_packages.sh b/scripts/merge_packages.sh index d873380..5b0b0f2 100644 --- a/scripts/merge_packages.sh +++ b/scripts/merge_packages.sh @@ -13,6 +13,9 @@ function merge_package(){ fi mv $pn package/custom/ } +function drop_package(){ + find package/ -follow -name $pn -not -path "package/custom/*" | xargs -rt rm -r +} function merge_feed(){ if [ ! -d "feed/$1" ]; then echo >> feeds.conf.default @@ -39,4 +42,5 @@ merge_package https://github.com/kuoruan/luci-app-frpc merge_package https://github.com/small-5/luci-app-adblock-plus merge_package https://github.com/zxlhhyccc/luci-app-v2raya merge_package https://github.com/messense/aliyundrive-webdav/trunk/openwrt/aliyundrive-webdav -merge_package https://github.com/messense/aliyundrive-webdav/trunk/openwrt/luci-app-aliyundrive-webdav \ No newline at end of file +merge_package https://github.com/messense/aliyundrive-webdav/trunk/openwrt/luci-app-aliyundrive-webdav +drop_package luci-app-cd8021x \ No newline at end of file