update getmail location and name

This commit is contained in:
georglauterbach 2023-12-04 00:41:41 +01:00
parent a539b6cb12
commit b4cc602b0e
No known key found for this signature in database
GPG key ID: F367F7C43C118578
3 changed files with 4 additions and 4 deletions

View file

@ -15,5 +15,5 @@ else
fi
for FILE in /etc/getmailrc.d/getmailrc*; do
/usr/local/bin/getmail --getmaildir "${GETMAILDIR}" --rcfile "${FILE}" --dump | tail -n +7
getmail --getmaildir "${GETMAILDIR}" --rcfile "${FILE}" --dump | tail -n +7
done

View file

@ -2,6 +2,6 @@
for FILE in /etc/getmailrc.d/getmailrc*; do
if ! pgrep -f "${FILE}$" &>/dev/null; then
/usr/local/bin/getmail --getmaildir /var/lib/getmail --rcfile "${FILE}"
getmail --getmaildir /var/lib/getmail --rcfile "${FILE}"
fi
done

View file

@ -25,9 +25,9 @@ function teardown_file() { _default_teardown ; }
assert_line 'received = false'
assert_line 'delivered_to = false'
_run_in_container stat /usr/local/bin/debug-getmail
_run_in_container_bash '[[ -f /usr/local/bin/debug-getmail ]]'
assert_success
_run_in_container stat /usr/local/bin/getmail-cron
_run_in_container_bash '[[ -f /usr/local/bin/getmail-cron ]]'
assert_success
}