Skip to content

Commit

Permalink
Update custom.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Apr 3, 2024
1 parent 930cebd commit 37d4049
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devices/common/custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
shopt -s extglob
rm -rf feeds/kiddin9/{diy,mt-drivers,shortcut-fe,luci-app-mtwifi,base-files,firewall,dnsmasq}

rm -rf feeds/packages/lang/golang
mv -f feeds/kiddin9/golang feeds/packages/lang/

for ipk in $(find feeds/kiddin9/* -maxdepth 0 -type d);
do
[[ "$(grep "KernelPackage" "$ipk/Makefile")" && ! "$(grep "BuildPackage" "$ipk/Makefile")" ]] && rm -rf $ipk || true
Expand Down

0 comments on commit 37d4049

Please sign in to comment.