fp-compiler.postinst.in 304 B

12345678910111213141516
  1. #! /bin/sh
  2. set -e
  3. FPCDIR=/usr/lib/fpc/%{fpcversion}
  4. # add alternative
  5. update-alternatives \
  6. --install /usr/bin/pc pc /usr/bin/fpc 20 \
  7. --slave /usr/share/man/man1/fpc.1.gz fpc.1.gz /usr/share/man/man1/fpc.1.gz
  8. # create link
  9. ln -sf $FPCDIR/ppc386 /usr/bin/ppc386
  10. # Debhelper code
  11. #DEBHELPER#