
git-subtree-dir: luci-theme-argon git-subtree-mainline: 8b002d94dbabce829f31ad98f03578517a1eef13 git-subtree-split: 98e2ceb3b2eb714c7fa5d099dfffd008bba21de5
13 lines
231 B
Bash
13 lines
231 B
Bash
#!/bin/sh
|
|
|
|
if [ "$PKG_UPGRADE" != 1 ]; then
|
|
uci get luci.themes.Argon >/dev/null 2>&1 || \
|
|
uci batch <<-EOF
|
|
set luci.themes.Argon=/luci-static/argon
|
|
set luci.main.mediaurlbase=/luci-static/argon
|
|
commit luci
|
|
EOF
|
|
fi
|
|
|
|
exit 0
|