commit -- Bug and Patch (#782)


Subject: commit -- Bug and Patch (#782)
From: Paul Rohr (paul@abisource.com)
Date: Tue Mar 07 2000 - 20:40:14 CST


Fix for bug 782, courtesy of Danny Faught <faught@rstcorp.com>

  M CREDITS.TXT
  M src/pkg/common/unix/data/tgz_install.sh

I just love it when bug reports are accompanied by patches! :-)

Paul

PS: I didn't try to reword this message to fit more smoothly with the other
installer messages, but it would probably be worth doing. See the extra
information in the bug report below for more details.

At 01:59 AM 3/4/00 -0600, sam th wrote:
>The following bug report (with patch) was entered into Bugzilla on
>Thursday.
>
>Installing the tarball distribution
>(abisuite-0.7.8-Linux_i386_dynamic.tar.gz) on SuSE Linux 6.2, I got an
>error from tar, but the script went on to say "Installation complete." and
>had a zero exit status.
>
>There are at least two situations where this can happen - insufficient
>permissions, and having a prior version abiword running while installing
>(Text file busy). I made these tweaks that seem to fix the problem-
>*** install.sh.orig Wed Feb 2 02:48:42 2000
>- --- install.sh Thu Mar 2 15:15:14 2000
>***************
>*** 130,135 ****
>- --- 130,143 ----
> $ECHO "Installing AbiSuite software in [$INSTALL_BASE]..."
> cd $INSTALL_BASE tar xf $INSTALL_DATA_FILE
>+ if [ $? -ne 0 ]
>+ then
>+ $ECHO ""
>+ $ECHO "Oops, tar seems to be having some trouble. Refer to the
>errors above."
>+ $ECHO "Installation aborted."
>+ $ECHO ""
>+ exit 1
>+ fi
> ########################################################################
>#
> If we're on Solaris, do the PostScript resource thing. This script
>
>
>The bug is # 782
>This seems like a good idea that was likely to be missed if it stayed in
>bugzilla.



This archive was generated by hypermail 2b25 : Tue Mar 07 2000 - 20:34:46 CST