mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
updated ugo's scripts, removed load check on threads, added misc_sorter, and disables all regexes if using ugo's assembler, added script to reactivate all regexes that were deactivated
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
SOURCE="${BASH_SOURCE[0]}"
|
||||
DIR="$( dirname "$SOURCE" )"
|
||||
while [ -h "$SOURCE" ]
|
||||
do
|
||||
SOURCE="$(readlink "$SOURCE")"
|
||||
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE"
|
||||
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||
done
|
||||
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||
|
||||
cd $DIR"/../conf"
|
||||
while read p; do
|
||||
mysql --defaults-file=my.cnf -uroot newznab -e "update releaseregex set status=1 where status=0 and ID=$p"
|
||||
done < active_regexes.txt
|
||||
|
||||
rm active_regexes.txt
|
||||
Reference in New Issue
Block a user