From f539e7cbd728368d50607299ecfc9da5fc4312be Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 29 Sep 2026 18:49:10 -0400 Subject: Apply Tadgy's patch to update the hardcoded file paths. --- bin/sbotools-update-db.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bin/sbotools-update-db.sh') diff --git a/bin/sbotools-update-db.sh b/bin/sbotools-update-db.sh index ec6a22f..90f4be3 100755 --- a/bin/sbotools-update-db.sh +++ b/bin/sbotools-update-db.sh @@ -2,16 +2,17 @@ # update the SBoTools.sqlite3 for the SBoTools limnoria plugin. # should be run from cron probably daily. also can be run manually. -# run this as the slackfacts user, not root. +# run this as the ibob user, not root. # configurables: -BOTDIR=/home/slackfacts/supybot +HOMEDIR=/home/ibob +BOTDIR=$HOMEDIR/bot DBFILE=$BOTDIR/SBoTools.sqlite3 -SCRIPT=$BOTDIR/limnoria.slackfacts.plugins/bin/sbodb.pl -SBOTREE=/data/mirrors/slackbuilds.org/15.0 +SCRIPT=$HOMEDIR/bot-plugins/limnoria.slackfacts.plugins/bin/sbodb.pl +SBOTREE=/data/depository/sbo/15.0 SQLITE3=/usr/bin/sqlite3 -LOG=$BOTDIR/sbotools-update-db.log -DATEFILE=$BOTDIR/sbotools-update-db.lastdate +LOG=$BOTDIR/logs/plugins/sbotools-update-db.log +DATEFILE=$BOTDIR/SBoTools.lastdate # 1st line of ChangeLog.txt is the date of the last SBo update. head -n 1 $SBOTREE/ChangeLog.txt > $DATEFILE.new -- cgit v1.2.3