File: pk4.postrm

package info (click to toggle)
pk4 5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 1,016 kB
  • sloc: sh: 146; makefile: 7
file content (16 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

case "$1" in
	remove)
		# APT and dpkg hooks are still in place, but package files are
		# not. Trigger a daemon-reload to make systemd realize our unit
		# files have vanished.
		if [ -d /run/systemd/system ]; then
			systemctl --system daemon-reload >/dev/null || true
		fi
	;;
esac

#DEBHELPER#