]> git.proxmox.com Git - zfsonlinux.git/blame - spl/debian/spl.preinst
debian/docs: change OPENSOLARIS.LICENSE to LICENSE
[zfsonlinux.git] / spl / debian / spl.preinst
CommitLineData
dee2ef0e
FG
1#!/bin/sh
2set -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
6if $(dpkg-query --showformat='${Conffiles}\n' --show spl >/dev/null 2>&1); then
7 dpkg-maintscript-helper rm_conffile /etc/hostid -- "$@"
8fi
9
10#DEBHELPER#