mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Update bookworm: spooky disclaimer
This commit is contained in:
parent
13a593b853
commit
87814f9371
1 changed files with 17 additions and 0 deletions
17
bookworm
17
bookworm
|
@ -294,6 +294,23 @@ EOF
|
||||||
choice="$(echo $choice | tr '[A-Z]' '[a-z]')"
|
choice="$(echo $choice | tr '[A-Z]' '[a-z]')"
|
||||||
[[ "$choice" == "yes" ]] || [[ "$choice" == "y" ]] || { error "Aborting"; return 1; }
|
[[ "$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
|
# SSH config warning
|
||||||
if [[ -f /etc/ssh/sshd_config ]]
|
if [[ -f /etc/ssh/sshd_config ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Add table
Reference in a new issue