From 87814f937105e0932e9322b2456d6623d457181c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Mon, 22 Jan 2024 22:14:48 +0100 Subject: [PATCH] Update bookworm: spooky disclaimer --- bookworm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/bookworm b/bookworm index 6a1dd8a..86b8e1d 100755 --- a/bookworm +++ b/bookworm @@ -294,6 +294,23 @@ EOF choice="$(echo $choice | tr '[A-Z]' '[a-z]')" [[ "$choice" == "yes" ]] || [[ "$choice" == "y" ]] || { error "Aborting"; return 1; } + if [[ "$DISTRIB" == "unstable" ]] + then + cat << EOF | tee -a $YUNOHOST_LOG + + • You are installing the unstable/alpha version of YunoHost 12/Bookworm. + + You should be warned that THIS IS ALPHA-STAGE DEVELOPMENT. + WE ABSOLUTELY DISCOURAGE ANY USE OF THIS VERSION + IN A PRODUCTION CONTEXT, THIS IS ONLY MEANT FOR *TESTING*. + + THINGS **WILL** BREAK. + +EOF + read -p " Type 'Yes, I understand' if you understand: " choice < /dev/tty + [[ "$choice" == "Yes, I understand" ]] || { error "Aborting"; return 1; } + fi + # SSH config warning if [[ -f /etc/ssh/sshd_config ]] then