systemd/debian/systemd.postrm
Michael Biebl e3c0434f4a Use new dh_installdeb maintscript facility to handle obsolete conffiles.
Bump Build-Depends on debhelper accordingly.

Conflicts:

	debian/changelog
2012-02-28 07:57:19 +01:00

13 lines
260 B
Bash

#! /bin/sh
set -e
if [ "$1" = remove ] || [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 25-1; then
dpkg-divert --remove --package systemd --rename \
--divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
fi
#DEBHELPER#
exit 0