X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Fluci-theme-bootstrap%2Froot%2Fetc%2Fuci-defaults%2F30_luci-theme-bootstrap;fp=themes%2Fluci-theme-bootstrap%2Froot%2Fetc%2Fuci-defaults%2F30_luci-theme-bootstrap;h=4381a15c2e7d1185dd4e32ac3399a0fa73c2cae8;hp=b5161843fea9b3eef064ce4f56a4f0612a8e7349;hb=fc150636b9393e31aa7d5a8d8320b111476ba2f1;hpb=3c4bc228a1f7b5731cf464f3f407c9ed9ace3cd2 diff --git a/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap b/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap index b5161843fe..4381a15c2e 100755 --- a/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap +++ b/themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap @@ -1,6 +1,7 @@ #!/bin/sh if [ "$PKG_UPGRADE" != 1 ]; then + uci get luci.themes.Bootstrap >/dev/null 2>&1 || \ uci batch <<-EOF set luci.themes.Bootstrap=/luci-static/bootstrap set luci.main.mediaurlbase=/luci-static/bootstrap