File: jackd2.postrm

package info (click to toggle)
jackd2 1.9.12~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,632 kB
  • sloc: cpp: 50,117; ansic: 29,194; python: 11,637; sh: 88; makefile: 68; objc: 39
file content (22 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

set -e

CONFIG_FILE=/etc/security/limits.d/audio.conf

if [ "$1" = "purge" ]; then
	for conffile in ${CONFIG_FILE} ${CONFIG_FILE}.disabled; do
		if [ -e ${conffile} ]; then
			rm ${conffile}
		fi
	done

	# if we still have debconf, also remove our entries from the DB
	if [ -e /usr/share/debconf/confmodule ]; then
		# Source debconf library.
		. /usr/share/debconf/confmodule
		db_purge
	fi
fi

#DEBHELPER#