#!/bin/sh case "$2" in POST-INSTALL) conf=${PKG_PREFIX}/etc/asound.conf if [ ! -f "$conf" ]; then exit 1 fi awk '{print $0}; /files/ { print "\t\t\t\"/etc/alsa/pcm/pcm-oss.conf\""}' <$conf >/tmp/asound.conf.new mv /tmp/asound.conf.new $conf exit 0 ;; *) exit 0 ;; esac exit 0