diff options
-rwxr-xr-x | templates/turris.run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/turris.run b/templates/turris.run index f6740bb..d63fc34 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -52,9 +52,9 @@ cd openwrt echo_stage "Get personal repository feed" echo "src-git personal git@cynerd.cz:openwrt-personal-pkgs" >> feeds.conf ./scripts/feeds update personal -./scripts/feeds list -r personal | awk '{print $1}' | xargs ./scripts/feeds uninstall # Remove any package provided by personal feed +find feeds/personal -type d -exec test -f '{}/Makefile' \; -prune -printf "%P\0" | \ + xargs -0 ./scripts/feeds ./scripts/feeds uninstall # Remove any package provided by personal feed ./scripts/feeds install -p personal -d y -f -a - echo_stage "Compile packages from personal feed" find package/feeds/personal -mindepth 1 -maxdepth 1 -printf 'package/%P/compile\0' | \ xargs --null $make |