File: kmscon.prerm

package info (click to toggle)
kmscon 9.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,696 kB
  • sloc: ansic: 30,211; sh: 105; python: 89; makefile: 16
file content (11 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -e

# Ensure /etc/systemd/system/autovt@.service gets removed on package removal.
if [ "$1" = "remove" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper disable kmsconvt@.service >/dev/null || echo "Warning: kmsconvt@.service was not successfully disabled. You may wish to manually remove the dangling /etc/systemd/system/autovt@.service file."
	fi
fi

#DEBHELPER#