File: libasound2-dev.postinst

package info (click to toggle)
alsa-lib 1.0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 7,008 kB
  • ctags: 9,137
  • sloc: ansic: 70,499; sh: 8,914; makefile: 682
file content (18 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

case "$1" in
  configure)
	D=/usr/share/doc/libasound2-dev
	if [ -d "$D" ] && ! [ -L "$D" ] ; then
		# Work around dpkg's refusal to replace a dir by a symlink
		if rmdir "$D" >/dev/null 2>&1 ; then
			ln -sf libasound2 "$D"
		fi
	fi
	;;
esac

#DEBHELPER#