* Support reverse sorting orders too!
authorUrban Wallasch <urban.wallasch@freenet.de>
Sun, 25 Apr 2021 11:25:12 +0000 (13:25 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sun, 25 Apr 2021 11:25:12 +0000 (13:25 +0200)
kaoget.sh

index 6e245cddf27335ebe758e27e2bc6b1ddec5d3560..2891e60185a1efe0de6474088f576017196a95c1 100755 (executable)
--- 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"