summaryrefslogtreecommitdiff
path: root/plymouth/debian/plymouth.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'plymouth/debian/plymouth.postrm')
-rw-r--r--plymouth/debian/plymouth.postrm26
1 files changed, 26 insertions, 0 deletions
diff --git a/plymouth/debian/plymouth.postrm b/plymouth/debian/plymouth.postrm
new file mode 100644
index 0000000..582fac3
--- /dev/null
+++ b/plymouth/debian/plymouth.postrm
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ remove)
+ if which update-initramfs >/dev/null 2>&1; then
+ update-initramfs -u
+ fi
+ ;;
+ purge)
+ rm -f /var/lib/plymouth/boot-duration
+ ;;
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
bgstack15