Skip to content

Commit c798cef

Browse files
Fix inverted vvv_get_mysql_service_name
1 parent 30b8230 commit c798cef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

provision/provision-helpers.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,12 @@ function vvv_search_replace_in_file() {
733733
}
734734
export -f vvv_search_replace_in_file
735735

736-
# @description Uses service
736+
# @description Identify the service name for the MySQL service via /etc/init.d/ contents
737+
# TODO: test on virtualbox
737738
function vvv_get_mysql_service_name() {
738739
if [ ! -f /etc/init.d/mariadb ]; then
739-
echo "mariadb"
740+
echo "mysql"
740741
fi
741-
echo "mysql"
742+
echo "mariadb"
742743
}
743744
export -f vvv_get_mysql_service_name

0 commit comments

Comments
 (0)