Dominique Dhumieres wrote:
> On Intel OSX 10.5.2 installing rkhunter-1.3.0-2 failed with:
[]
> ./installer.sh --layout custom /sw/src/fink.build/root-rkhunter-1.3.0-2/sw 
> --striproot /sw/src/fink.build/root-rkhunter-1.3.0-2 --install
> No action given, exiting.
> ### execution of ./installer.sh failed, exit code 1

That installer.sh script uses sh in a non-POSIX compatible way, and this 
fails on Leopard (mainly because of unrecognized flags for `echo`). For 
making the installation work, there is an easy fix:

PatchScript: perl -pi -e 's|/bin/sh|/bin/bash|' installer.sh

But as far as I can tell, the rkhunter script itself is a sh script, 
too, and it is probably using the same broken syntax, so I wouldn't bet 
that it works on Leopard.

-- 
Martin




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to