From e3c1a7a5e920a7b24372d3159c547895e57422fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Olivier?= <aurelien@aolivier.eu> Date: Sat, 17 Nov 2018 10:51:02 +0100 Subject: [PATCH] checkBox function: use on/off instead of yes/no This function uses on/off to define default values. --- handlers/mysql.helper.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/handlers/mysql.helper.in b/handlers/mysql.helper.in index 997f73c..6501d60 100644 --- a/handlers/mysql.helper.in +++ b/handlers/mysql.helper.in @@ -56,15 +56,15 @@ do_mysql_user() { do_mysql_final() { if [ -z "$_DISABLE_HOTCOPY" ]; then checkBox "$mysql_title" "check options" \ - "sqldump" "create a backup using mysqldump (more compat)." no \ - "hotcopy" "create a backup using mysqlhotcopy (faster)." yes \ - "compress" "compress the sql output files" yes + "sqldump" "create a backup using mysqldump (more compat)." off \ + "hotcopy" "create a backup using mysqlhotcopy (faster)." on \ + "compress" "compress the sql output files" on status=$? sqldump="sqldump = no" hotcopy="hotcopy = no" else checkBox "$mysql_title" "check options" \ - "compress" "compress the sql output files" yes + "compress" "compress the sql output files" on status=$? sqldump="sqldump = yes" hotcopy="hotcopy = no" -- GitLab