2
# This script can be called in the following ways:
4
# After the package was installed:
5
# <postinst> configure <old-version>
8
# If prerm fails during upgrade or fails on failed upgrade:
9
# <old-postinst> abort-upgrade <new-version>
11
# If prerm fails during deconfiguration of a package:
12
# <postinst> abort-deconfigure in-favour <new-package> <version>
13
# removing <old-package> <version>
15
# If prerm fails during replacement due to conflict:
16
# <postinst> abort-remove in-favour <new-package> <version>
20
4
configure|triggered)
24
s/(title=Kubuntu ).*\$/\1$(lsb_release -rs)/
25
}" /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth.in \
26
> /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth
28
--install /lib/plymouth/themes/text.plymouth text.plymouth \
29
/lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth 60
8
s/(title=Kubuntu ).*\$/\1$(lsb_release -rs)/
9
}" /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth.in \
10
> /lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth
12
--install /lib/plymouth/themes/text.plymouth text.plymouth \
13
/lib/plymouth/themes/kubuntu-text/kubuntu-text.plymouth 60
31
if which update-initramfs >/dev/null 2>&1
15
if which update-initramfs >/dev/null 2>&1; then
16
update-initramfs -u || echo "Failed to update-initramfs - BROKEN SETUP?."
37
20
abort-upgrade|abort-deconfigure|abort-remove)
41
echo "$0 called with unknown argument \`$1'" 1>&2
24
echo "$0 called with unknown argument \`$1'" 1>&2