Bug#145447: gij: Here's a fix
Package: gij
Version: 2:3.0.4-5
Followup-For: Bug #145447
This postinst should work:
#! /bin/sh -e
update-alternatives --quiet --install /usr/bin/java java
/usr/bin/gij-wrapper-3.0 30 --slave /usr/share/man/man1/java.1.gz
java.1.gz /usr/share/man/man1/gij-wrapper-3.0.1.gz || true
# dh_doclink
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a ! -e /usr/doc/gij-3.0 -a -d /usr/share/doc/gij-3.0
]; then
ln -sf ../share/doc/gij-3.0 /usr/doc/gij-3.0
fi
fi
exit
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux micha 2.4.18-k7 #1 Sun Apr 14 13:19:11 EST 2002 i686
Locale: LANG=de_DE, LC_CTYPE=de_DE
Versions of packages gij depends on:
ii cpp 2:2.95.4-14 The GNU C preprocessor.
ii gij-3.0 1:3.0.4-8 The GNU Java bytecode interpreter.
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: