Commit a3328de2 authored by Tollef Fog Heen's avatar Tollef Fog Heen
Browse files

Remove diversion of init-functions on downgrade

parent 93b03d51
systemd (25-2) experimental; urgency=low
* Handle downgrades more gracefully by removing diversion of
/lib/lsb/init-functions on downgrades to << 25-1.
--
systemd (25-1) experimental; urgency=low
* New upstream release, target experimental due to initscripts
......
......@@ -2,7 +2,7 @@
set -e
if [ "$1" = remove ]; then
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
......
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