projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
themes: don't reset theme on package upgrades
[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
batch
<<-EOF
5
set luci.themes.Bootstrap=/luci-static/bootstrap
6
set luci.main.mediaurlbase=/luci-static/bootstrap
7
commit luci
8
EOF
9
fi
10
11
exit
0