freebsd-ports/audio/linux-f10-alsa-plugins-oss/pkg-plist
Juergen Lock e9b25cc7c5 - Handle config file properly on pkg_delete and reinstall, don't just
overwrite it.
- Small cosmetic changes.

Submitted by:	avg (final patch via private email)
Approved by:	portmgr (miwi, via irc)
2011-05-05 21:15:45 +00:00

13 lines
766 B
Text

@unexec if cmp -s %D/etc/alsa/pcm/pcm-oss.conf-dist %D/etc/alsa/pcm/pcm-oss.conf; then rm -f %D/etc/alsa/pcm/pcm-oss.conf; fi
etc/alsa/pcm/pcm-oss.conf-dist
@exec if [ ! -f %D/etc/alsa/pcm/pcm-oss.conf ] ; then cp -p %D/%F %B/client.conf; fi
usr/lib/alsa-lib/libasound_module_ctl_oss.so
usr/lib/alsa-lib/libasound_module_pcm_oss.so
usr/share/doc/alsa-plugins-oss-1.0.21/COPYING
usr/share/doc/alsa-plugins-oss-1.0.21/COPYING.GPL
usr/share/doc/alsa-plugins-oss-1.0.21/README-pcm-oss
@dirrm usr/share/doc/alsa-plugins-oss-1.0.21
@dirrmtry etc/alsa/pcm
@dirrmtry etc/alsa
@dirrmtry usr/lib/alsa-lib
@unexec if [ -f %D/etc/asound.conf ]; then fgrep -v '/etc/alsa/pcm/pcm-oss.conf' <%D/etc/asound.conf >/tmp/asound.conf.new; mv /tmp/asound.conf.new %D/etc/asound.conf; fi