Bug 13753: koha-indexer contains invalid statement
authorTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 24 Feb 2015 13:54:57 +0000 (10:54 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 2 Mar 2015 14:25:46 +0000 (15:25 +0100)
commitb1ef4123bf80522fbab97e4ac7e4648a4122d6e9
tree98d1deadf89a256fd3ad363154c9a37826efb06d
parent003993d547a98a3b1e085058b96aecd318ece036
Bug 13753: koha-indexer contains invalid statement

An incorrect conditional makes the indexer daemon fail to load.

To test:
- Enable the indexer daemon on packages [1]
- Restart koha-common:
  $ service koha-common restart
- Run
  $ ps waux | grep koha-indexer
=> FAIL: there's no reference to the rebuild_zebra.pl script
  (line should look like *rebuild_zebra.pl -daemon*)
   Run ps -ef | grep rebuild_zebra.pl too to make sure.
- Apply the patch, repeat the steps
=> SUCCESS: the rebuild_zebra.pl script is ran
- Sign off :-D

Thanks

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
debian/scripts/koha-indexer