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