projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #3819 from ptpt52/theme
[project/luci.git]
/
themes
/
luci-theme-rosy
/
root
/
etc
/
uci-defaults
/
30_luci-theme-rosy
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 ab0299a9c3c8c2eff538e4aa41c86fa30dc02c99..8c21ddddd661c2906117a48ca383a136886bcf66 100755
(executable)
--- 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