home *** CD-ROM | disk | FTP | other *** search
/ Chip 1995 March / CHIP3.mdf / slakinst / contents / scripts / termify < prev    next >
Encoding:
Text File  |  1995-08-04  |  388 b   |  16 lines

  1. LIBVER=4.5.26-2.2.0
  2. crunch() {
  3.         LIBDIR=$1
  4.         LIBPREFIX=$2
  5.         for f in $LIBDIR/$LIBPREFIX.so.$LIBVER
  6.         do
  7.                 bname=`basename $f`
  8.                 cp $f $LIBDIR/t$bname || exit 1
  9.                 rm -f $f
  10.                 mv $LIBDIR/t$bname $f
  11.         done
  12. }
  13. crunch lib libt;
  14. ( cd lib ; rm -rf libt.so.4 )
  15. ( cd lib ; ln -sf libt.so.4.5.26-2.2.0 libt.so.4 )
  16.