Sophie

Sophie

distrib > Mageia > cauldron > i586 > by-pkgid > 6598de92f9c4a2a9e6c7768f2e16ae34 > scriptlet

cdrkit-genisoimage-1.1.11-11.mga7.i586.rpm

POSTIN

/bin/sh
update-alternatives --install /usr/bin/mkisofs mkisofs /usr/bin/genisoimage 10 \
    --slave /usr/share/man/man1/mkisofs.1.xz mkisofs.1.xz /usr/share/man/man1/genisoimage.1.xz
update-alternatives --install /usr/bin/mkhybrid mkhybrid /usr/bin/genisoimage 10 \
    --slave /usr/share/man/man1/mkhybrid.1.xz mkhybrid.1.xz /usr/share/man/man1/genisoimage.1.xz

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
  update-alternatives --remove mkisofs /usr/bin/genisoimage
  update-alternatives --remove mkhybrid /usr/bin/genisoimage
fi