diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-07-11 20:42:43 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-07-11 20:42:43 +0200 |
commit | 64d9d82afbe9fcdabc9e4b9c5f02bf12c093645c (patch) | |
tree | d9c2218c51716e77ea62cfe5c662274f49a2f3a2 /bin/menuscripts/tsh | |
parent | d7d9eb0f21770d4467a31d16e2adf7e9c8a21edf (diff) |
checkpoint
Diffstat (limited to 'bin/menuscripts/tsh')
-rwxr-xr-x | bin/menuscripts/tsh | 6 |
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) |