HEX
Server: Apache
System: Linux vps37023 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User: alternativsm (5771646)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/ulogd2.postrm
#!/bin/sh
set -e

# Automatically added by dh_installinit/12.2.3ubuntu1
if [ "$1" = "purge" ] ; then
	update-rc.d ulogd2 remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installdeb/12.2.3ubuntu1
dpkg-maintscript-helper rm_conffile /etc/init/ulogd2.conf 2.0.7-1\~ -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/12.2.3ubuntu1
if [ "$1" = "remove" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper mask 'ulogd2.service' >/dev/null || true
	fi
fi

if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge 'ulogd2.service' >/dev/null || true
		deb-systemd-helper unmask 'ulogd2.service' >/dev/null || true
	fi
fi
# End automatically added section


# Clean up the log directory
if [ "$1" = "purge" ]; then
	if [ -d /var/log/ulog ]; then
		rm -rf /var/log/ulog
	fi
fi