• R/O
  • HTTP
  • SSH
  • HTTPS

luci: Commit

LuCI - OpenWrt Configuration Interface


Commit MetaInfo

Revisão1baf4beaad91c1e13c01a9bd49e61bd36b6b8cec (tree)
Hora2022-05-21 17:10:58
AutorTianling Shen <cnsztl@immo...>
CommiterTianling Shen

Mensagem de Log

luci-theme-argon: use uclient-fetch for smaller size

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

Mudança Sumário

Diff

--- a/themes/luci-theme-argon/Makefile
+++ b/themes/luci-theme-argon/Makefile
@@ -7,7 +7,7 @@
77 include $(TOPDIR)/rules.mk
88
99 LUCI_TITLE:=Argon Theme
10-LUCI_DEPENDS:=+curl +jsonfilter
10+LUCI_DEPENDS:=+wget +jsonfilter
1111 PKG_VERSION:=2.2.9.4
1212 PKG_RELEASE:=20220425
1313
--- a/themes/luci-theme-argon/root/usr/libexec/argon/bing_wallpaper
+++ b/themes/luci-theme-argon/root/usr/libexec/argon/bing_wallpaper
@@ -6,7 +6,7 @@ CACHE=/var/run/argon_bing.url
66 WRLOCK=/var/lock/argon_bing.lock
77
88 fetch_url_path() {
9- curl --fail --show-error --max-time 1 \
9+ wget -T1 -qO- \
1010 "$BING_BASE/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US" 2>/dev/null \
1111 | jsonfilter -q -e '@.images[0].url'
1212 }
Show on old repository browser