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:20:46 +0000 (13:20 +0100)
commit0cee46bc638cbb91f84c249766877acc2e2230ca
tree432d6d7d94941fd3d5b27a73a48fb18004a5b7c0
parent19656820478709642a594bf0c20666de1da1d790
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>
(cherry picked from commit 0bc09cc749439e233afdf9cd71c14f67090a3a07)
themes/luci-theme-bootstrap/root/etc/uci-defaults/30_luci-theme-bootstrap