File: kmscon.postrm

package info (click to toggle)
kmscon 9.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 5,360 kB
  • sloc: ansic: 30,099; python: 120; sh: 76; makefile: 35
file content (20 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -e

# Copied from /usr/share/debhelper/autoscripts/postrm-systemd
# from debhelper 13.11.8.
# This can go once #889635 is fixed.
if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge kmsconvt@.service >/dev/null || true
	fi
fi

# Copied from /usr/share/debhelper/autoscripts/postrm-systemd-reload-only
# from debhelper 13.11.8.
# This can go once #889635 is fixed.
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi

#DEBHELPER#