summaryrefslogtreecommitdiff
path: root/debian/oss4-dkms.postinst
blob: 64dc6d8eb8fe8c775e775d7c2660f219e615c76e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/sh
# postinst script for liquidsoap
set -e

#DEBHELPER#

case "$1" in
    configure)
        # Restart oss4-base
	if which invoke-rc.d >/dev/null 2>&1; then
		invoke-rc.d oss4-base force-reload
	else
		/etc/init.d/oss4-base force-reload
	fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    exit 0
    ;;

    *)
    echo "postinst called with unknown argument \`$1'" >&2
    exit 1
    ;;
esac

exit 0