sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
25
app/xterm/package/debian/postinst
Normal file
25
app/xterm/package/debian/postinst
Normal file
|
@ -0,0 +1,25 @@
|
|||
#! /bin/sh
|
||||
echo "** postinst script for xterm: $*"
|
||||
|
||||
set -e
|
||||
|
||||
PRI=60
|
||||
ALT=x-terminal-emulator
|
||||
PKG=xterm-dev
|
||||
|
||||
BINDIR=/usr/bin
|
||||
MANDIR=/usr/share/man/man1
|
||||
|
||||
if [ $1 != "upgrade" ]
|
||||
then
|
||||
update-alternatives \
|
||||
--install \
|
||||
$BINDIR/$ALT $ALT \
|
||||
$BINDIR/$PKG $PRI \
|
||||
--slave $MANDIR/$ALT.1.gz $ALT.1.gz \
|
||||
$MANDIR/$PKG.1.gz
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue