Commit 1394b97d authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Move diversion removal from postinst to preinst. Closes: #679728

parent 65f4f750
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 ]
......
......@@ -59,12 +59,6 @@ if dpkg --compare-versions "$2" lt "40-1"; then
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#
#! /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#
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment