Skip to content
Snippets Groups Projects
Commit e3c1a7a5 authored by Aurélien Olivier's avatar Aurélien Olivier
Browse files

checkBox function: use on/off instead of yes/no

This function uses on/off to define default values.
parent f9529d1d
Branches
Tags
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment