#!/bin/sh -e # This script can be called in the following ways: # # After the package was removed: # remove # # After the package was purged: # purge # # After the package was upgraded: # upgrade # if that fails: # failed-upgrade # # # After all of the packages files have been replaced: # disappear # # # If preinst fails during install: # abort-install # # If preinst fails during upgrade of removed package: # abort-install # # If preinst fails during upgrade: # abort-upgrade case "$1" in remove) update-alternatives \ --remove default.plymouth /usr/share/plymouth/themes/lubuntu-next-logo/lubuntu-next-logo.plymouth if which update-initramfs >/dev/null 2>&1 then update-initramfs -u fi ;; esac #DEBHELPER# exit 0