luci/themes
Chen Minqiang 7a47df9f07 luci-theme-*: set mediaurlbase if it is the first time to be installed
If we build multi-themes into firmware, each of them set itself
to be the default theme, what theme should it be?

To make it clear, we only set mediaurlbase if the theme is the
first time to be installed/built-in.

This resolve the issue that theme always change to somewhat default
after upgrading the firmware even with a config-keep-upgrade

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
(backported from commit fc150636b9)
2020-05-07 19:40:49 +02:00
..
luci-theme-bootstrap luci-theme-*: set mediaurlbase if it is the first time to be installed 2020-05-07 19:40:49 +02:00
luci-theme-material luci-theme-*: set mediaurlbase if it is the first time to be installed 2020-05-07 19:40:49 +02:00
luci-theme-openwrt luci-theme-*: set mediaurlbase if it is the first time to be installed 2020-05-07 19:40:49 +02:00
luci-theme-rosy luci-theme-*: set mediaurlbase if it is the first time to be installed 2020-05-07 19:40:49 +02:00