]>
Commit | Line | Data |
---|---|---|
c932eac9 AX |
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# |