[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

one package altering other package's postrm



Hi,

Would it be OK / ugly / forbiden to do a
"rm -f /var/lib/dpkg/info/cron.postrm"
in systemd-cron preinst script ?

This is needed to avoid that /etc/cron.allow & /etc/cron.deny disapears
when cron is purged but systemd-cron still needs those. (from v1.5.1)

In http://anonscm.debian.org/cgit/pkg-cron/pkg-cron.git/tree/debian/postrm :
# if [ "$1" = "purge" ]; then 
#    rm -f /etc/cron.allow /etc/cron.deny
# fi

The handover of custom /etc/crontab works fine thank to the "Replace:" in d/control

Alexandre Detiste

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: