install_mysql.sh: Fix some errors at splittet (\) commands.
This commit is contained in:
parent
93829be6cd
commit
b06ec92d30
@ -915,14 +915,14 @@ if $SYSTEMD_EXISTS ; then
|
||||
else
|
||||
# - Is Service exclusive controlled by systemd
|
||||
# -
|
||||
if systemctl -t service list-unit-files \
|
||||
| grep -e "^mysql" \
|
||||
if systemctl -t service list-unit-files \
|
||||
| grep -e "^mysql" \
|
||||
| grep -q -E "(enabled|disabled|generated)" 2> /devnull ; then
|
||||
|
||||
MYSQLD_SERVICE_FILE=$(systemctl -t service list-unit-files \
|
||||
| grep -e "^mysql" \
|
||||
| awk '{print$1}'\
|
||||
| head -1)
|
||||
MYSQLD_SERVICE_FILE=$(systemctl -t service list-unit-files \
|
||||
| grep -e "^mysql" \
|
||||
| awk '{print$1}' \
|
||||
| head -1)
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user