Package: replace ntfs-3g with ntfs3-mount, add fstrim

This commit is contained in:
John Doe
2021-08-16 23:08:49 +08:00
parent 7331ab6469
commit 834b6b73a3
3 changed files with 7 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
function merge_package(){
pn=`echo $1 | rev | cut -d'/' -f 1 | rev`
find package/ \( -type l -o -type d \) -name $pn | xargs -r rm -r
find package/ feeds/ \( -type l -o -type d \) -name $pn | xargs -r rm -r
if [ ! -z "$2" ]; then
find package/ \( -type l -o -type d \) -name $2 | xargs -r rm -r
find package/ feeds/ \( -type l -o -type d \) -name $2 | xargs -r rm -r
fi
if [[ $1 == *'/trunk/'* ]]; then
@@ -28,4 +28,6 @@ merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/luci-app-c
merge_package https://github.com/coolsnowwolf/packages/trunk/kernel/ksmbd
merge_package https://github.com/coolsnowwolf/packages/trunk/net/ksmbd-tools
merge_package https://github.com/Beginner-Go/luci-app-tencentddns
merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
merge_package https://github.com/sundaqiang/openwrt-packages/trunk/luci-app-services-wolplus
merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3-mount
merge_package https://github.com/coolsnowwolf/lede/trunk/package/lean/ntfs3