Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
robinhood
rbh-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rbh-config.patch of Package robinhood
--- scripts/rbh-config 2016-09-12 10:50:28.152783000 +0200 +++ scripts/rbh-config-fixed 2017-08-15 09:47:43.725870380 +0200 @@ -32,14 +32,7 @@ fi echo "mysqladmin command OK." - if [[ ! -x `which mysql_config` ]]; then - echo "Command 'mysql_config' not found." - echo "Install 'mysql' package on your system." - exit 2 - fi - echo "mysql_config command OK." - - version=`mysql_config --version | cut -d . -f 1` + version=`mysqld --version | cut -d . -f 1` if (( $? )); then echo "Error executing 'mysql_config --version'." exit 2 @@ -51,7 +44,12 @@ if [ -x /etc/init.d/mysql ]; then service=mysql fi - rpm -q mariadb > /dev/null && service=mariadb + if [ -f /usr/lib/systemd/system/mysql.service ] ; then + service=mysql + fi + if [ -f /usr/lib/systemd/system/mariadb.service ] ; then + service=mariadb + fi running=0 echo "Checking service $service..." if [ -x /usr/bin/systemctl ]; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor