HCoop
/
hcoop
/
debian
/
exim4.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Import Debian changes 4.92-8+deb10u4
[hcoop/debian/exim4.git]
/
debian
/
exim4-localscan-plugin-config
1
#!/bin/sh
2
3
case
"
$1
"
in
4
--localscan-apiversion
)
5
sed
-rn
's/#define LOCAL_SCAN_ABI_VERSION_(MAJOR|MINOR) *([0-9]+).*/\2/p'
\
6
/
usr
/
include
/
exim
4
/
local_scan.h \
7
|
(
read
MAJOR
;
read
MINOR
;
echo
${MAJOR}
.
${MINOR}
)
8
;;
9
*)
10
echo
Usage
:
$0
--localscan-apiversion
11
;;
12
esac