dee2ef0e31
based on Debian's packaging work, but simplified: - no DKMS and remove old patches which were based on top of Debian's packaging. Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com> Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com> Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
11 lines
314 B
Bash
11 lines
314 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Detect if /etc/hostid is a conffile of previous spl package, migrate if yes
|
|
# hostid file should preserve even when package is purged
|
|
if $(dpkg-query --showformat='${Conffiles}\n' --show spl >/dev/null 2>&1); then
|
|
dpkg-maintscript-helper rm_conffile /etc/hostid -- "$@"
|
|
fi
|
|
|
|
#DEBHELPER#
|