AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.227.134.95


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //var/lib/dpkg/info/plymouth.postrm

#!/bin/sh

set -e

case "${1}" in
	remove)
		# Remove the compatibility symlinks
		if [ -L '/bin/plymouth' ]; then
			rm /bin/plymouth
		fi
		if [ -L '/sbin/plymouthd' ]; then
			rm /sbin/plymouthd
		fi
		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

# Automatically added by dh_installinit/13.6ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
	update-rc.d plymouth-log remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installinit/13.6ubuntu1
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
	update-rc.d plymouth remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.6ubuntu1
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section


exit 0