| 1 | #!/bin/sh |
| 2 | BINNAME=$(basename "$0") |
| 3 | |
| 4 | if dpkg --print-architecture | grep -q -v i386 || grep -q '^flags[[:space:]]*:.* sse2 ' /proc/cpuinfo ; then |
| 5 | "/usr/lib/infernal/${BINNAME}" "$@" |
| 6 | else |
| 7 | cat <<EOT |
| 8 | To run $BINNAME from infernal package your proccessor needs SSE2 which is not |
| 9 | available on this machine. |
| 10 | ... Exiting |
| 11 | EOT |
| 12 | fi |