postinst is in vdr-plugin-remote 0.5.0-5.
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 18 19 20 21 22 23 24 | #! /bin/sh
set -e
# confmodule makes sure that config is called
. /usr/share/debconf/confmodule
if [ "$1" = "configure" ]
then
db_get vdr-plugin-remote/install_evdev
if [ $RET = "true" ]
then
# Try to load the evdev-module
if modprobe evdev
then
if ! cat /etc/modules | grep -q ^evdev
then
echo "evdev" >> /etc/modules
fi
else
db_input high vdr-plugin-remote/error-evdev || true
db_go || true
fi
fi
fi
|