Skip to content

Commit

Permalink
update targets.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Dec 8, 2024
1 parent 6d76d21 commit d9f6538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion targets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Ref: https://github.com/muink/luci-app-packagesync/blob/master/root/etc/init.d/packagesync#L126
OPENWRT_URL="https://downloads.openwrt.org"
VERSION="$( \
curl -sL "$OPENWRT_URL" | sed -n '/Stable Release/,/Old Stable Release/p' \
curl -sL "$OPENWRT_URL" | sed -En '/Stable Release/,/(Old|Upcoming) Stable Release/p' \
| sed -n '/<ul>/,/<\/ul>/p' | grep 'OpenWrt' \
| sed -E "s|.+\breleases/([\.0-9]+)/.+|\1|g" \
)"
Expand Down

0 comments on commit d9f6538

Please sign in to comment.