diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.postinst.debhelper b/distros/ubuntu1504_cmake_split_packages/zoneminder-core.postinst.debhelper deleted file mode 100644 index 888b155f4..000000000 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.postinst.debhelper +++ /dev/null @@ -1,15 +0,0 @@ -# Automatically added by dh_installinit -# In case this system is running systemd, we need to ensure that all -# necessary tmpfiles (if any) are created before starting. -if [ -d /run/systemd/system ] ; then - systemd-tmpfiles --create /usr/lib/tmpfiles.d/zoneminder.conf >/dev/null || true -fi -# End automatically added section -# Automatically added by dh_installinit -if [ -x "/etc/init.d/zoneminder" ]; then - update-rc.d zoneminder defaults >/dev/null -fi -if [ -x "/etc/init.d/zoneminder" ] || [ -e "/etc/init/zoneminder.conf" ]; then - invoke-rc.d zoneminder start || exit $? -fi -# End automatically added section diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.postrm.debhelper b/distros/ubuntu1504_cmake_split_packages/zoneminder-core.postrm.debhelper deleted file mode 100644 index 19b291b3f..000000000 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.postrm.debhelper +++ /dev/null @@ -1,18 +0,0 @@ -# Automatically added by dh_installinit -if [ "$1" = "purge" ] ; then - update-rc.d zoneminder remove >/dev/null -fi - - -# In case this system is running systemd, we make systemd reload the unit files -# to pick up changes. -if [ -d /run/systemd/system ] ; then - systemctl --system daemon-reload >/dev/null || true -fi -# End automatically added section -# Automatically added by dh_installdebconf -if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_purge -fi -# End automatically added section diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.prerm.debhelper b/distros/ubuntu1504_cmake_split_packages/zoneminder-core.prerm.debhelper deleted file mode 100644 index 2d7592dc3..000000000 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-core.prerm.debhelper +++ /dev/null @@ -1,5 +0,0 @@ -# Automatically added by dh_installinit -if [ -x "/etc/init.d/zoneminder" ] || [ -e "/etc/init/zoneminder.conf" ]; then - invoke-rc.d zoneminder stop || exit $? -fi -# End automatically added section diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-database.postrm.debhelper b/distros/ubuntu1504_cmake_split_packages/zoneminder-database.postrm.debhelper deleted file mode 100644 index bc035b98c..000000000 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-database.postrm.debhelper +++ /dev/null @@ -1,6 +0,0 @@ -# Automatically added by dh_installdebconf -if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_purge -fi -# End automatically added section diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm.debhelper b/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm.debhelper deleted file mode 100644 index bc035b98c..000000000 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm.debhelper +++ /dev/null @@ -1,6 +0,0 @@ -# Automatically added by dh_installdebconf -if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_purge -fi -# End automatically added section