summaryrefslogtreecommitdiff
path: root/source/ap/alsa-utils/doinst.sh
blob: 0ee74150608896b7505738f1fddca5940389be1e (plain)
1
2
3
4
5
6
if [ -r etc/asound.state -a ! -r var/lib/alsa/asound.state -a ! -L etc/asound.state ]; then
  mv etc/asound.state var/lib/alsa
fi
# Better a dangling symlink than for nobody to know where this went:
rm -f etc/asound.state
( cd etc && ln -sf ../var/lib/alsa/asound.state . )