]> git.proxmox.com Git - zfsonlinux.git/blob - spl/debian/spl.postrm
2b6dc7baa86238c564c6f215339744a05d2535b4
[zfsonlinux.git] / spl / debian / spl.postrm
1 #!/bin/sh
2 set -e
3
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 -- "$@"
8 fi
9
10 #DEBHELPER#