Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > f907d4b53bf59aaf892bf7c45efc76c8 > scriptlet

cdrkit-1.1.11-11.mga7.i586.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-group cdrkit $1 cdwriter

POSTIN

/bin/sh
update-alternatives --install /usr/bin/cdrecord cdrecord /usr/bin/wodim 10 \
    --slave /usr/share/man/man1/cdrecord.1.xz cdrecord.1.xz /usr/share/man/man1/wodim.1.xz
update-alternatives --install /usr/bin/readcd readcd /usr/bin/readom 10 \
    --slave /usr/share/man/man1/readcd.1.xz readcd.1.xz /usr/share/man/man1/readom.1.xz

POSTUN

/bin/sh
/usr/share/rpm-helper/del-group cdrkit $1 cdwriter 

if [ "$1" = "0" ]; then
  update-alternatives --remove cdrecord /usr/bin/wodim
  update-alternatives --remove readcd /usr/bin/readom
fi