From bb3e560cb2530a0085db901a377a1670f8b49994 Mon Sep 17 00:00:00 2001 From: librelad Date: Sun, 24 May 2026 13:10:52 +0100 Subject: [PATCH] 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 Signed-off-by: librelad --- scripts/docker/type_switcher/swap_docker_type.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/docker/type_switcher/swap_docker_type.sh b/scripts/docker/type_switcher/swap_docker_type.sh index d34d654..530371f 100755 --- a/scripts/docker/type_switcher/swap_docker_type.sh +++ b/scripts/docker/type_switcher/swap_docker_type.sh @@ -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