summaryrefslogtreecommitdiff
path: root/bin/menuscripts/tsh
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-07-11 20:42:43 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-07-11 20:42:43 +0200
commit64d9d82afbe9fcdabc9e4b9c5f02bf12c093645c (patch)
treed9c2218c51716e77ea62cfe5c662274f49a2f3a2 /bin/menuscripts/tsh
parentd7d9eb0f21770d4467a31d16e2adf7e9c8a21edf (diff)
checkpoint
Diffstat (limited to 'bin/menuscripts/tsh')
-rwxr-xr-xbin/menuscripts/tsh6
1 files changed, 3 insertions, 3 deletions
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)