patch tizen_2.0_build
[external/systemd.git] / debian / systemd.postrm
1 #! /bin/sh
2
3 set -e
4
5 if [ "$1" = remove ] || [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 25-1; then
6     dpkg-divert --remove --package systemd --rename \
7         --divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
8 fi
9
10 dpkg-maintscript-helper rm_conffile /etc/lsb-base-logging.sh 20-1 systemd -- "$@"
11
12 dpkg-maintscript-helper rm_conffile /etc/tmpfiles.d/legacy.conf 25-2 systemd -- "$@"
13 dpkg-maintscript-helper rm_conffile /etc/tmpfiles.d/systemd.conf 25-2 systemd -- "$@"
14 dpkg-maintscript-helper rm_conffile /etc/tmpfiles.d/x11.conf 25-2 systemd -- "$@"
15
16 #DEBHELPER#
17
18 exit 0