Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv24266/scripts
Modified Files:
perl
Log Message:
updated perl to v5.8.2
Index: perl
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/perl,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- perl 13 Oct 2003 17:36:09 -0000 1.25
+++ perl 26 Dec 2003 14:29:35 -0000 1.26
@@ -30,12 +30,14 @@
build )
if [ "$CONFIG_PERL" = "y" ]; then
cd ext
+
rm -rf ./DB_File || exit 1
for FILE in $(ls $DL_DIR/src/perl-ext/*.tar.gz)
do
tar -xzf $FILE || exit 1
done
+
ln -sf DB_File-* DB_File || exit 1
for PATCH in $(ls $DL_DIR/src/perl-ext/*.diff.bz2)
@@ -62,6 +64,11 @@
rm -f /usr/bin/s2p /usr/bin/psed
rm -f /usr/bin/pstruct /usr/bin/c2ph
cp -vfdpR $WORKDIR/tmp/* /usr || exit 1
+
+ # delete the old perl version
+ test -d /usr/lib/perl5/5.8.0 && rm -rf /usr/lib/perl5/5.8.0
+ test -d /usr/lib/perl5/site_perl/5.8.0 && rm -rf /usr/lib/perl5/site_perl/5.8.0
+ exit 0
fi
;;
@@ -76,7 +83,7 @@
rm $WORKDIR/tmp/bin/perl || exit 1
# check here if install fails, you probably upgraded to a new perl release
- PERLBIN=perl5.8.0
+ PERLBIN=perl5.8.2
[ -e $WORKDIR/tmp/bin/$PERLBIN ] || exit 1
ln -sf $PERLBIN $WORKDIR/tmp/bin/perl || exit 1
|