postinst is in udftools 2.0-2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
set -e
if [ "$1" = "configure" ]; then
if which udevadm 1>/dev/null 2>&1; then
if udevadm control --reload; then
if dpkg --compare-versions "$2" le "2.0-1~"; then
udevadm trigger --action=add --subsystem-match=block --property-match=ID_CDROM=1 || true
fi
fi
fi
fi
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/default/udftools 2.0-1\~ udftools -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/udftools 2.0-1\~ udftools -- "$@"
# End automatically added section
|