projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
luci-theme-*: set mediaurlbase if it is the first time to be installed
[project/luci.git]
/
themes
/
luci-theme-material
/
root
/
etc
/
uci-defaults
/
30_luci-theme-material
1
#!/bin/sh
2
3
if
[
"
$PKG_UPGRADE
"
!=
1
];
then
4
uci get luci.themes.Material
>/
dev
/
null
2
>&
1
|| \
5
uci
batch
<<-EOF
6
set luci.themes.Material=/luci-static/material
7
set luci.main.mediaurlbase=/luci-static/material
8
commit luci
9
EOF
10
fi
11
12
exit
0