70cbfe3880
PR: 221925 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
12 lines
226 B
Bash
12 lines
226 B
Bash
#!/bin/sh
|
|
|
|
user="%%LOGCHECK_USER%%"
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
if /usr/bin/crontab -u "${user}" -l > /dev/null 2>&1; then
|
|
echo y | /usr/bin/crontab -u "${user}" -r
|
|
echo "==> Removed crontab for \"${user}\"."
|
|
fi
|
|
;;
|
|
esac
|