Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > ed68338b8ce564848ac8e11f128c0258 > scriptlet

cdrkit-genisoimage-1.1.11-11.mga7.x86_64.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