From: Urban Wallasch Date: Sun, 25 Apr 2021 11:25:12 +0000 (+0200) Subject: * Support reverse sorting orders too! X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=a280cb9f4b6c12ec7ca665d888d6bdab8cc534e3;p=kaotools.git * Support reverse sorting orders too! --- diff --git a/kaoget.sh b/kaoget.sh index 6e245cd..2891e60 100755 --- a/kaoget.sh +++ b/kaoget.sh @@ -88,7 +88,7 @@ case "$URL_FILE" in # Got an URL for the file parameter. TMP_FILE=$(make_kix "$URL_FILE") case "$URL_FILE" in - *"&s="?"&q="* ) + *"&s="*"&q="* ) # URL appears to point to a directory, fetch the listing! URL_FILE="${URL_FILE%%&*}" URL_FILE="${URL_FILE/leech.php/leechx.php/}&q=1&m=0"