POSTIN
/bin/sh
if [ -z "$DURING_INSTALL" -a "$1" = 1 ] ; then /usr/sbin/bootloader-config --action rebuild-initrds # remove nokmsboot if ok /sbin/display_driver_helper --setup-boot-kms &>/dev/null || : fi
POSTUN
/bin/sh
if [ "$1" = 0 ] ; then # add nokmsboot if needed /sbin/display_driver_helper --setup-boot-kms &>/dev/null || : fi