Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 3aa4d4893e2b3ae1a79005daf21bed7d > scriptlet

alsa-utils-1.1.4-1.mga6.i586.rpm

PREIN

/bin/sh
# (cg) When first installed/upgraded add the state-daemon config file.
if [ ! -r /usr/lib/systemd/system/alsa-state.service ]; then
  if [ ! -d /etc/alsa ]; then
    mkdir -m 0755 /etc/alsa
  fi
  echo "# Remove this file to disable the alsactl daemon mode" > /etc/alsa/state-daemon.conf
fi

POSTIN

/bin/sh
if [ -s /etc/asound.state -a ! -s /var/lib/alsa/asound.state ] ; then
   mv /etc/asound.state /var/lib/alsa/asound.state
fi