Hi!
Question about debian packages to experts: currently, my postrm script looks like following:
#!/bin/sh
if test "x$1" = "xpurge"; then
rm -f /etc/nxagentd.conf
rm -f /etc/nxagentd.conf.backup
rm -f /etc/nxagentd.conf.sample
fi
It supposed to remove configuration files only when package uninstalled completely. However, during upgrade configuration files also got removed. What I am doing wrong?
Best regards,
Victor