postinst is in hostap-utils 1:0.4.7-1ubuntu1.
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 | #!/bin/sh
set -e
# Automatically added by dh_installmodules
if [ "$1" = "configure" ]; then
if [ -e "/etc/modprobe.d/hostap-utils" ]; then
echo "Preserving user changes to /etc/modprobe.d/hostap-utils.conf ..."
if [ -e "/etc/modprobe.d/hostap-utils.conf" ]; then
mv -f "/etc/modprobe.d/hostap-utils.conf" "/etc/modprobe.d/hostap-utils.conf.dpkg-new"
fi
mv -f "/etc/modprobe.d/hostap-utils" "/etc/modprobe.d/hostap-utils.conf"
fi
fi
# End automatically added section
|