4 # Detect if /etc/hostid is a conffile of previous spl package, migrate if yes
5 # hostid file should preserve even when package is purged
6 if $
(dpkg-query
--showformat='${Conffiles}\n' --show spl
>/dev
/null
2>&1); then
7 dpkg-maintscript-helper rm_conffile
/etc
/hostid
-- "$@"