OSDN Git Service

654fe18113e0d103382fe99ae51a1419a0bffb5c
[serene/serenelinux-system-pkg.git] / base-files / DEBIAN / postrm
1 #!/bin/sh
2 set -e
3 # Automatically added by dh_installdeb/11.1.6ubuntu2
4 dpkg-maintscript-helper rm_conffile /etc/update-motd.d/50-news 9.6ubuntu11~ -- "$@"
5 # End automatically added section
6 # Automatically added by dh_systemd_start/11.1.6ubuntu2
7 if [ -d /run/systemd/system ]; then
8         systemctl --system daemon-reload >/dev/null || true
9 fi
10 # End automatically added section
11 # Automatically added by dh_systemd_start/11.1.6ubuntu2
12 if [ -d /run/systemd/system ]; then
13         systemctl --system daemon-reload >/dev/null || true
14 fi
15 # End automatically added section
16 # Automatically added by dh_systemd_enable/11.1.6ubuntu2
17 if [ "$1" = "remove" ]; then
18         if [ -x "/usr/bin/deb-systemd-helper" ]; then
19                 deb-systemd-helper mask 'motd-news.timer' >/dev/null || true
20         fi
21 fi
22
23 if [ "$1" = "purge" ]; then
24         if [ -x "/usr/bin/deb-systemd-helper" ]; then
25                 deb-systemd-helper purge 'motd-news.timer' >/dev/null || true
26                 deb-systemd-helper unmask 'motd-news.timer' >/dev/null || true
27         fi
28 fi
29 # End automatically added section