From 64d9d82afbe9fcdabc9e4b9c5f02bf12c093645c Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 11 Jul 2024 20:42:43 +0200 Subject: checkpoint --- bin/menuscripts/tsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/menuscripts/tsh') diff --git a/bin/menuscripts/tsh b/bin/menuscripts/tsh index 0c57ee0..72670f2 100755 --- a/bin/menuscripts/tsh +++ b/bin/menuscripts/tsh @@ -170,8 +170,11 @@ then # Get results rm -f "$results" "$links" + # shellcheck source=/usr/local/lib/$PROG/nyaa.sh disable=SC1091 . "$MODULES_PATH/$module" + get_torrents + [ -f "$results" ] || die "No results." # Save which module was used @@ -180,9 +183,6 @@ else module="$(tail -n 1 "$links")" fi -# acquire get_magnet function -# shellcheck source=/usr/local/lib/$PROG/nyaa.sh disable=SC1091 -getfunctions=1 . "$MODULES_PATH/$module" # select result from "$results" for choice in $(select_result | xargs) -- cgit v1.2.3