luci-theme-bootstrap: don't overwrite theme selection upon install
authorJo-Philipp Wich <jo@mein.io>
Tue, 16 Nov 2021 12:11:45 +0000 (13:11 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 16 Nov 2021 12:19:29 +0000 (13:19 +0100)
commit0bc09cc749439e233afdf9cd71c14f67090a3a07
treedf6fa9da02d85be0bd82e1731fe563a47cb82fd2
parent8055acc9be89f0bed31b6692ad08e6196611d478
luci-theme-bootstrap: don't overwrite theme selection upon install

Revert to the previous uci-defaults behaviour of only setting the
selected theme to Bootstrap if the Bootstrap entry didn't exist yet
in the configuration.

Ref: https://forum.openwrt.org/t/luci-theme-behaviour-change/112047
Fixes: ed86f03a9f ("luci-theme-bootstrap: add explicit dark/light mode selection")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap