summaryrefslogtreecommitdiff
path: root/audio/oss/files/pkg-install.in
blob: 669954bc7bdee2e7c87d66142e248aff20d329a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

case $2 in
POST-INSTALL)
	if ! test -f %%PREFIX%%/lib/oss/etc/installed_drivers; then
		%%PREFIX%%/sbin/ossdetect -v
	fi
	if ! test -f %%PREFIX%%/lib/oss/etc/userdefs; then
		echo "autosave_mixer yes" > %%PREFIX%%/lib/oss/etc/userdefs
	fi
esac