[Bug 526311] Review Request: mysql-mmm - Multi-Master Replication Manager for MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=526311





--- Comment #17 from Ruben Kerkhof <ruben@xxxxxxxxxxxxxxxx>  2009-11-19 06:02:45 EDT ---
Oh, and 2 more ;-)

> %post agent
> /sbin/chkconfig --add mysql-mmm-agent
> /sbin/chkconfig mysql-mmm-agent off
> if [ $1 -eq 2 ] ; then
>    /sbin/service mysql-mmm-agent status >/dev/null
>    if [ $? = 0 ]; then
>        /sbin/service mysql-mmm-agent restart
>    fi
>fi

This sets the mysql-mmm-agent service to off at an update of the package.

> %preun agent
> if [ $1 = 0 ]; then

Use -eq here

> %preun monitor
> if [ $1 = 0 ]; then

Same here

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]