style(switcher): split the docker-mode-switch warning across notices
The single long isNotice was hard to read in both source and terminal output. Break it into three lines (re-map warning / backup-restore guidance / app-data note). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: librelad <librelad@digitalangels.vip>
This commit is contained in:
parent
0a246d043d
commit
bb3e560cb2
@ -28,7 +28,9 @@ dockerSwitcherSwap()
|
||||
# new mode. LibrePortal's own control plane is reconciled automatically
|
||||
# (reconcileDockerOwnership), but app data is not touched — the safe way
|
||||
# to carry stateful apps across is backup-before / restore-after.
|
||||
isNotice "Switching Docker mode re-maps container ownership. Back up any stateful apps (databases etc.) BEFORE switching and restore them AFTER — app data is intentionally left untouched here."
|
||||
isNotice "Switching Docker mode re-maps container ownership."
|
||||
isNotice "Back up any stateful apps (databases etc.) BEFORE switching and restore them AFTER."
|
||||
isNotice "App data is intentionally left untouched here."
|
||||
|
||||
if [[ $CFG_DOCKER_INSTALL_TYPE == "rooted" ]]; then
|
||||
if [[ $flag != "cli" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user