debian/aide.conf.d/31_aide_trac
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | #shellcheck disable=SC2154 |
| 4 | if [[ -r "${UPAC_settingsd}/31_aide_trac_settings" ]]; then |
| 5 | # pull in configuration |
| 6 | #shellcheck disable=SC1090 |
| 7 | . "${UPAC_settingsd}/31_aide_trac_settings" |
| 8 | fi |
| 9 | |
| 10 | for tracpath in ${TRAC_REPOS}; do |
| 11 | [[ -d "${tracpath}" ]] || exit 1 |
| 12 | tracpath="${tracpath//\./\\\\.}" |
| 13 | printf "%sdb/trac\\.db$ f VarFile\\n" "${tracpath}" |
| 14 | printf "%sdb$ d VarDir\\n" "${tracpath}" |
| 15 | done |