Merge pull request #3819 from ptpt52/theme
[project/luci.git] / themes / luci-theme-rosy / root / etc / uci-defaults / 30_luci-theme-rosy
index ab0299a9c3c8c2eff538e4aa41c86fa30dc02c99..8c21ddddd661c2906117a48ca383a136886bcf66 100755 (executable)
@@ -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