Skip to content

Commit

Permalink
Fix inverted vvv_get_mysql_service_name
Browse files Browse the repository at this point in the history
  • Loading branch information
pentatonicfunk committed Oct 19, 2024
1 parent 30b8230 commit c798cef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions provision/provision-helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -733,11 +733,12 @@ function vvv_search_replace_in_file() {
}
export -f vvv_search_replace_in_file

# @description Uses service
# @description Identify the service name for the MySQL service via /etc/init.d/ contents
# TODO: test on virtualbox
function vvv_get_mysql_service_name() {
if [ ! -f /etc/init.d/mariadb ]; then
echo "mariadb"
echo "mysql"
fi
echo "mysql"
echo "mariadb"
}
export -f vvv_get_mysql_service_name

0 comments on commit c798cef

Please sign in to comment.