summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020/root
diff options
context:
space:
mode:
Diffstat (limited to 'themes/luci-theme-openwrt-2020/root')
-rwxr-xr-xthemes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-20201
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020 b/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020
index 45e742ad73..7c49acfda9 100755
--- a/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020
+++ b/themes/luci-theme-openwrt-2020/root/etc/uci-defaults/30_luci-theme-openwrt-2020
@@ -1,6 +1,7 @@
#!/bin/sh
if [ "$PKG_UPGRADE" != 1 ]; then
+ uci get luci.themes.OpenWrt2020 >/dev/null 2>&1 || \
uci batch <<-EOF
set luci.themes.OpenWrt2020=/luci-static/openwrt2020
set luci.main.mediaurlbase=/luci-static/openwrt2020