[BACK]Return to regen.sh CVS log [TXT][DIR] Up to [local] / openbsd / OpenBSDTorrents

File: [local] / openbsd / OpenBSDTorrents / regen.sh (download)

Revision 1.5, Wed Apr 6 21:33:35 2005 UTC (19 years, 1 month ago) by andrew
Branch: MAIN
Changes since 1.4: +11 -11 lines

changed to use config from /etc/OpenBSDTorrents.conf

#!/bin/sh
#$Id: regen.sh,v 1.5 2005/04/06 21:33:35 andrew Exp $

. /etc/OpenBSDTorrents.conf

cd ${OBT_DIR_HOME}

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

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

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

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