--- src_postinst.cygpart.orig 2010-10-19 16:21:00.336140600 +0200 +++ src_postinst.cygpart 2010-10-19 16:22:03.036299000 +0200 @@ -465,10 +465,9 @@ # OCaml bytecode must not be stripped # this test generates false positives with the ocaml core and # compilers, but should otherwise be accurate - if grep -q 'Caml1999X008' ${exe} - then - continue - fi + case `tail -c 12 ${exe}` in + Caml1999X[0-9][0-9][0-9]) continue;; + esac # Mono assemblies must not be stripped, but remove .mdb debug symbols, # and make them non-executable so they're not launched by MS .NET