Am Sonntag, den 12.04.2009, 13:34 +0100 schrieb Sam Morris:
> Package: grub-pc
> Version: 1.96+20090317-1
> Severity: minor
> File: /etc/grub.d/10_hurd
> Usertags: cruft
>
> The following file was shipped in a previous version of the package, but was
> not removed on upgrade:
>
> /etc/grub.d/10_hurd dd21337b54c93bf1fa1a979261ed09d1 obsolete
>
Here's a grub-common.postinst which removed it on upgrades.
Robert what do you think, is there maybe some other/better way to
archive this?
#!/bin/bash -e
case "$1" in
configure)
if [ -n "$2" -a -f /etc/grub.d/10_hurd ] ; then
dpkg --compare-versions $2 le 1.96+20090412-1
if [ $? -eq 0 ]; then
rm /etc/grub.d/10_hurd
fi
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
--
Felix Zielcke
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]