Skip to content

Commit d9d0b23

Browse files
authored
Update postinst
la variable du nom de serveur mysql est définie par MYSQL_HOSTNAME et non par HOSTNAME.
1 parent 4f201c2 commit d9d0b23

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

install/postinst

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
1-
#!/usr/bin/env bash
2-
set -e
3-
4-
# Parameters
5-
DEBUG="/tmp/output.txt"
6-
declare -a DETAILS
7-
8-
ENV_TYPE="prod"
9-
1+
OSTO
102
# Functions
113

124
usage() {
@@ -457,7 +449,7 @@ EOS
457449
step_nextdom_mysql_configuration() {
458450
# check that mysql is locally installed before any further configuration
459451
# default value for mysql_host is localhost
460-
[[ "localhost" != "$HOSTNAME" ]] && {
452+
[[ "localhost" != "$MYSQL_HOSTNAME" ]] && {
461453
print_log_ok "Remote mysql server detected"
462454
return 0
463455
}

0 commit comments

Comments
 (0)