Bug#426425: sa-exim: sa-exim does not depend on a recent enough version of exim

Magnus Holmgren magnus at kibibyte.se
Thu Jun 7 20:41:20 UTC 2007


On Thursday 07 June 2007 21:51, Marc Haber wrote:
> Show me the script, and I'll include it.

#!/bin/sh
echo 1.1  # don't forget to update

Just kidding. :-) I think this should work for now:

#!/bin/sh

if [ "$1" = '--localscan-abiversion' ]; then
    sed -rn 's/#define LOCAL_SCAN_ABI_VERSION_(MAJOR|MINOR) *([0-9]+).*/\2/p' \
        /usr/include/exim4/local_scan.h | (read MAJOR; read MINOR; echo ${MAJOR}.${MINOR})
else
    echo Usage: $0 --localscan-abiversion
fi

but now I have to write a manpage too. Stupid policy... :-P

-- 
Magnus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-exim4-maintainers/attachments/20070607/de4c8002/attachment.pgp 


More information about the Pkg-exim4-maintainers mailing list