debian/aide.conf.d/21_aide_spamassassin
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | if command -v sa-update > /dev/null |
| 4 | then |
| 5 | SA_VERSION_PROCESSED=$(sa-update --help 2>&1 | grep lib | cut -d '/' -f 5 | cut -d ')' -f 1) |
| 6 | printf "@@if not defined SA_VERSION_PROCESSED\\n" |
| 7 | printf "@@define SA_VERSION_PROCESSED %s\\n" "${SA_VERSION_PROCESSED}" |
| 8 | printf "@@endif\\n" |
| 9 | fi |