Cross Reference: postinst
xref: /xsrc/external/mit/xterm/dist/package/debian/postinst
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /xsrc/external/mit/xterm/dist/package/debian/
101037d57Smrg#! /bin/sh
201037d57Smrgecho "** postinst script for xterm: $*"
301037d57Smrg
401037d57Smrgset -e
501037d57Smrg
601037d57SmrgPRI=60
701037d57SmrgALT=x-terminal-emulator
801037d57SmrgPKG=xterm-dev
901037d57Smrg
1001037d57SmrgBINDIR=/usr/bin
1101037d57SmrgMANDIR=/usr/share/man/man1
1201037d57Smrg
1301037d57Smrgif [ $1 != "upgrade" ]
1401037d57Smrgthen
1501037d57Smrg	update-alternatives \
1601037d57Smrg		--install \
1701037d57Smrg			$BINDIR/$ALT $ALT \
1801037d57Smrg			$BINDIR/$PKG $PRI \
1901037d57Smrg		--slave $MANDIR/$ALT.1.gz $ALT.1.gz \
2001037d57Smrg			$MANDIR/$PKG.1.gz
2101037d57Smrgfi
2201037d57Smrg
2301037d57Smrg#DEBHELPER#
2401037d57Smrg
2501037d57Smrgexit 0
26

Indexes created Sat Nov 29 20:09:40 GMT 2025