[pkg-ntp-maintainers] Bug#892965: Bug#892966: ntpsec-ntpdate: unconditionally removes /var/lib/ntpdate on purge, even if ntpdate is installed
Richard Laager
rlaager at wiktel.com
Wed Mar 14 23:45:31 UTC 2018
Unless I hear otherwise from the ntpdate maintainers, I have committed
and will upload a change to use this code in ntpsec-ntpdate:
# ntpdate also uses this directory, so if it is installed, leave it.
if ! dpkg -s ntpdate > /dev/null 2>&1; then
rm -rf /var/lib/ntpdate/
fi
I suggest something similar for ntpdate:
# ntpsec-ntpdate also uses this directory, so if it is installed,
# leave it.
if ! dpkg -s ntpsec-ntpdate > /dev/null 2>&1; then
rm -rf /var/lib/ntpdate/
fi
--
Richard
More information about the pkg-ntp-maintainers
mailing list