Merge pull request #3413 from pymumu/master
[project/luci.git] / themes / luci-theme-bootstrap / root / etc / uci-defaults / 30_luci-theme-bootstrap
1 #!/bin/sh
2
3 if [ "$PKG_UPGRADE" != 1 ]; then
4 uci get luci.themes.Bootstrap >/dev/null 2>&1 || \
5 uci batch <<-EOF
6 set luci.themes.Bootstrap=/luci-static/bootstrap
7 set luci.main.mediaurlbase=/luci-static/bootstrap
8 commit luci
9 EOF
10 fi
11
12 exit 0