+systemd (44-4) unstable; urgency=low
+
+ * Move diversion removal from postinst to preinst. Closes: #679728
+
+ -- Tollef Fog Heen <tfheen@debian.org> Sun, 01 Jul 2012 08:17:50 +0200
+
systemd (44-3) unstable; urgency=low
[ Michael Biebl ]
fi
fi
-if [ "$1" = "configure" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "44-3"; then
- rm -f /lib/lsb/init-functions
- dpkg-divert --remove --package systemd --rename \
- --divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
-fi
-
systemd-machine-id-setup
#DEBHELPER#
--- /dev/null
+#! /bin/sh
+
+set -e
+
+if [ "$1" = "install" ] || [ "$1" = "upgrade" ] && [ -n "$2" ] && dpkg --compare-versions "$2" lt "44-3"; then
+ rm -f /lib/lsb/init-functions
+ dpkg-divert --remove --package systemd --rename \
+ --divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
+fi
+
+#DEBHELPER#