Permalink
Browse files

changes for new host

  • Loading branch information...
1 parent c36b5e2 commit 650c0eb92d1244ba4d2e7e3b2ef307b3bb0e683b @DrHyde committed Mar 9, 2012
Showing with 2 additions and 8 deletions.
  1. +1 −1 dbish
  2. +1 −7 getfiles.sh
View
@@ -7,7 +7,7 @@ if [ $DIR == . ]; then
fi
DBNAME=cpandeps
-if [ $DIR == /web/cpandeps-dev.cantrell.org.uk ]; then
+if [ $DIR == /web/cpandeps-dev ]; then
DBNAME=cpandepsdev
fi
View
@@ -2,13 +2,8 @@
DIR=`echo $0|sed 's/\/getfiles.sh//'`
-if [ $DIR == . ]; then
- DIR=`pwd`
-fi
-
-cd $DIR
-
echo Fetching 02packages ...
+
wget -q -O 02packages http://cpan.org/modules/02packages.details.txt.gz &&
mv 02packages 02packages.details.txt.gz
@@ -23,7 +18,6 @@ gzip -fd barbiesdb.gz &&
rm 02packages.details.txt.gz
-cd $DIR
echo
echo
echo Unknown OSes

0 comments on commit 650c0eb

Please sign in to comment.