Revert "Attempt to fix error init.d-script-not-included-in-packag"
This reverts commit c84f1b644b
.
pull/605/head
parent
c3a72892e6
commit
b75bea3e16
|
@ -4,7 +4,9 @@ set -e
|
|||
|
||||
if [ "$1" = "configure" ]; then
|
||||
if [ -e "/etc/init.d/mysql" ]; then
|
||||
if deb-systemd-invoke start mysql.service; then
|
||||
# Get mysql started if it isn't
|
||||
deb-systemd-invoke start mysql.service
|
||||
if deb-systemd-invoke status mysql.service; then
|
||||
mysqladmin --defaults-file=/etc/mysql/debian.cnf -f reload
|
||||
# test if database if already present...
|
||||
if ! $(echo quit | mysql --defaults-file=/etc/mysql/debian.cnf zm > /dev/null 2> /dev/null) ; then
|
||||
|
|
Loading…
Reference in New Issue