https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26741
--- Comment #5 from David Cook <[email protected]> --- Comment on attachment 112083 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112083 Bug 26741: Make rabbitmq-server a 'recommended' package Review of attachment 112083: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=26741&attachment=112083) ----------------------------------------------------------------- ::: debian/koha-common.postinst @@ +261,5 @@ > +# config rmq, if rmq is installed > +if dpkg-query -W -f='${db:Status-Abbrev}' rabbitmq-server | grep -q ^.i ; > then > + rabbitmq-plugins enable rabbitmq_stomp > + service rabbitmq-server restart > +fi I haven't tested this yet, but why not just do "dpkg -l rabbitmq-server"? The if/then construct will do the right thing with the exit code. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
