quakeforge/debian/quakeforge-common.postinst

12 lines
392 B
Bash

#!/bin/sh -e
update-alternatives --install /usr/lib/quakeforge/plugins/snd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_disk.so 10
update-alternatives --install /usr/lib/quakeforge/plugins/snd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_null.so 20
if [ "$1" = "configure" ]; then
ldconfig
fi
#DEBHELPER#
exit 0