Bug and Patch


Subject: Bug and Patch
From: sam th (sam@bur-jud-118-039.rh.uchicago.edu)
Date: Sat Mar 04 2000 - 01:59:37 CST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.
           
                                     sam th
                                     sytobinh@uchicago.edu
                                        

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4wMJrt+kM0Mq9M/wRAr+TAJwKWHtPfyCrzcryinqQMtiUmVm+ngCaAx6p
VoQ7Cmu6MrKeWG5nUDqdiVs=
=FMWG
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Sat Mar 04 2000 - 01:59:46 CST