Skip to content

Commit e3be7c5

Browse files
committed
trixie: add a disclaimer when installing testing
1 parent 6f43863 commit e3be7c5

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

trixie

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,20 @@ EOF
386386
387387
THINGS **WILL** BREAK.
388388
389+
EOF
390+
if ! prompt_confirm " Type 'Yes, I understand' if you understand: " "Yes, I understand"; then
391+
die "Aborting on user request."
392+
fi
393+
elif [[ "$DISTRIB" == "testing" ]]; then
394+
cat << EOF | tee -a "$YUNOHOST_LOG"
395+
396+
• You are installing the testing/beta version of YunoHost 13/Trixie.
397+
398+
You should be warned that THIS IS BETA-STAGE DEVELOPMENT.
399+
THIS IS ONLY MEANT FOR *TESTING* OR *POWER-USERS*
400+
401+
THINGS **MAY** BREAK AND YOU MAY HAVE TO DEBUG MANUALLY.
402+
389403
EOF
390404
if ! prompt_confirm " Type 'Yes, I understand' if you understand: " "Yes, I understand"; then
391405
die "Aborting on user request."

0 commit comments

Comments
 (0)