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