~ubuntu-branches/ubuntu/vivid/oss4/vivid

« back to all changes in this revision

Viewing changes to debian/oss4-dkms.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2010-07-14 21:16:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100714211603-bg8jx8lh13m0ysr2
Tags: 4.2-build2003-1
* New upstream release.
* Removed oss4-source, set oss4-dmks as the 
  only way to compile the drivers.
* Reload modules in oss4-dmks' postinst when
  called with action "configure".
Closes: #558034
* Added soundon and soundoff script to survive
  a suspend/resume cycle. Added Recommends: pm-utils.
Closes: #565709
* Added explicit dependency on linux-headers to make sure
  the modules' build symklink is present.
Closes: #587191
* Bumped standards-version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# postinst script for liquidsoap
 
3
set -e
 
4
 
 
5
#DEBHELPER#
 
6
 
 
7
case "$1" in
 
8
    configure)
 
9
        # Restart oss4-base
 
10
        if which invoke-rc.d >/dev/null 2>&1; then
 
11
                invoke-rc.d oss4-base force-reload
 
12
        else
 
13
                /etc/init.d/oss4-base force-reload
 
14
        fi
 
15
    ;;
 
16
 
 
17
    abort-upgrade|abort-remove|abort-deconfigure)
 
18
    exit 0
 
19
    ;;
 
20
 
 
21
    *)
 
22
    echo "postinst called with unknown argument \`$1'" >&2
 
23
    exit 1
 
24
    ;;
 
25
esac
 
26
 
 
27
exit 0
 
28