postinst is in pysdm 0.4.1-0ubuntu3.
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 | #!/bin/sh -e
# Automatically added by dh_pysupport
if which update-python-modules >/dev/null 2>&1; then
update-python-modules pysdm.private
fi
# End automatically added section
if [ "$1" = "configure" ]; then
[ -e /etc/udev/user.rules ] || touch /etc/udev/user.rules
[ -e /etc/udev/rules.d/z80_user.rules ] || ln -s ../user.rules /etc/udev/rules.d/z80_user.rules
fi
|