Bug#143342: mv: cannot stat `jar': No such file or directory
Adam Di Carlo writes:
> Package: fastjar
> Version: 1:3.0.4-7
> Severity: minor
>
> During configure phase of upgrade I read:
>
> Setting up fastjar (3.0.4-7) ...
> mv: cannot stat `jar': No such file or directory
>
> It would be nicer if postinst checked for the existance of the
> file before trying to move it...
hmm, should this be reassigned to dpkg? just using update-alternatives:
#! /bin/sh -e
update-alternatives --quiet --install /usr/bin/jar jar
/usr/bin/fastjar 30 \
--slave /usr/share/man/man1/jar.1.gz jar.1.gz
/usr/share/man/man1/fastjar.1.gz
# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
if [ -d /usr/doc -a ! -e /usr/doc/fastjar -a -d
/usr/share/doc/fastjar ]
; then
ln -sf ../share/doc/fastjar /usr/doc/fastjar
fi
fi
# End automatically added section
--
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: