Skip to content

Commit

Permalink
lots of changes. mostly just made it work now
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew authored and afresh1 committed Sep 3, 2012
1 parent 27b23eb commit 5fc2949
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions regen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
#!/bin/sh

MakeTorrents.pl $@
CurrentTorrents.pl
lftp -f lftp.script
ServerTorrents.pl
BASEDIR=/home/OpenBSDTorrents
TORRENTDIR=/home/torrentsync/torrents

cd ${BASEDIR}

if [[ $1 != skip ]]; then
echo ${BASEDIR}/MakeTorrents.pl $*
${BASEDIR}/MakeTorrents.pl $*
fi

echo ${BASEDIR}/CurrentTorrents.pl
${BASEDIR}/CurrentTorrents.pl

if [ $? != 253 ]; then
echo lftp -f ${BASEDIR}/lftp.script
lftp -f ${TORRENTDIR}/lftp.script

echo ${BASEDIR}/ServerTorrents.pl
${BASEDIR}/ServerTorrents.pl
fi

0 comments on commit 5fc2949

Please sign in to comment.