install_mysql.sh: some minor fixes.
This commit is contained in:
parent
5212593886
commit
01c1aead0f
@ -940,7 +940,17 @@ elif [[ -x "$(realpath /etc/init.d/mysql)" ]]; then
|
||||
fi
|
||||
|
||||
if [[ -z "$MYSQL_INIT_SCRIPT" ]] && [[ -z "$MYSQLD_SERVICE_FILE" ]] && $UPDATE_MYSQL ; then
|
||||
fatal "Kein start/stop Sevice File/ Init Script gefunden.."
|
||||
error "Kein start/stop Sevice File/ Init Script gefunden.."
|
||||
|
||||
echononl "continue anyway [yes/no]: "
|
||||
read OK
|
||||
OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')"
|
||||
while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do
|
||||
echononl "Wrong entry! - repeat [yes/nno]: "
|
||||
read OK
|
||||
done
|
||||
[[ $OK = "yes" ]] || fatal "Abbruch durch User"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user