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