Permalink
Browse files

We no longer use the cur_torrents dir or seed from there

Instead we just directly use the torrents dir.  # Please enter the commit message for your changes. Lines starting
  • Loading branch information...
1 parent cede38d commit 2b412892aa09cc5b0e97aa70ecf53da268516132 @afresh1 committed Sep 9, 2012
Showing with 2 additions and 14 deletions.
  1. +2 −14 regen.sh
View
@@ -29,14 +29,6 @@ ${OBT_DIR_HOME}/CurrentTorrents.pl
#if [ $? != 253 ]; then exit; fi
echo
-echo Removing old torrents
-for f in `ls ${OBT_DIR_CUR_TORRENT}`; do
- if [ ! -e ${OBT_DIR_TORRENT}/$f ]; then
- rm ${OBT_DIR_CUR_TORRENT}/$f
- fi
-done
-
-echo
echo ${OBT_DIR_HOME}/ServerTorrents.pl
${OBT_DIR_HOME}/ServerTorrents.pl
@@ -52,9 +44,5 @@ lftp -c "set ftp:ssl-allow no
sleep 60;
echo
-echo Starting new torrents
-for f in `ls ${OBT_DIR_TORRENT}`; do
- if [ ! -e ${OBT_DIR_CUR_TORRENT}/$f ]; then
- ln -s ${OBT_DIR_TORRENT}/$f ${OBT_DIR_CUR_TORRENT}/$f
- fi
-done
+echo ${OBT_DIR_HOME}/SeedTorrents[.pl
+${OBT_DIR_HOME}/SeedTorrents.pl

0 comments on commit 2b41289

Please sign in to comment.