This file is indexed.

config is in alsa-source 1.0.25+dfsg-0ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh

set -e

. /usr/share/debconf/confmodule
db_version 2.0
db_capb multiselect

if [ -f /etc/alsa-source.conf ]; then
	if [ -f /etc/alsa/alsa-source.conf ]; then
		mv -f /etc/alsa-source.conf /etc/alsa-source.conf.dpkg-old
	else
		mv -f /etc/alsa-source.conf /etc/alsa/alsa-source.conf
	fi
fi

db_metaget alsa-source/cards choices || :
db_subst alsa-source/cards_to_be_built alsa_cards "$RET"

db_metaget alsa-source/cards_with_descriptions choices || :
db_subst alsa-source/cards_to_be_built alsa_cards_with_descriptions "$RET"

if [ -f /etc/alsa/alsa-source.conf ] ; then
	case "$(sed -n -e 's/^[[:space:]]*ALSA_NOPNP[[:space:]]*=[[:space:]]*"\(.*\)"/\1/p' /etc/alsa/alsa-source.conf)" in
		y|Y|yes|YES|Yes) db_set alsa-source/has_pnp "false" || : ;;
		*) db_set alsa-source/has_pnp "true"  || : ;;
	esac
	case "$(sed -n -e 's/^[[:space:]]*ALSA_DEBUG[[:space:]]*=[[:space:]]*"\(.*\)"/\1/p' /etc/alsa/alsa-source.conf)" in
		y|Y|yes|YES|Yes) db_set alsa-source/debug "true"  || : ;;
		*) db_set alsa-source/debug "false" || : ;;
	esac
	db_set alsa-source/cards_to_be_built "$(sed -n -e 's/^[[:space:]]*ALSA_CARDS[[:space:]]*=[[:space:]]*"\(.*\)"/\1/p' /etc/alsa/alsa-source.conf)" || :
fi

db_input low alsa-source/has_pnp || :
db_input low alsa-source/debug || :
db_input low alsa-source/cards_to_be_built || :
db_go || :
db_stop || :