summaryrefslogtreecommitdiff
path: root/manualPorts
diff options
context:
space:
mode:
Diffstat (limited to 'manualPorts')
-rwxr-xr-xmanualPorts/sl/lastVersion.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/manualPorts/sl/lastVersion.sh b/manualPorts/sl/lastVersion.sh
index 22f27b1..b5c929c 100755
--- a/manualPorts/sl/lastVersion.sh
+++ b/manualPorts/sl/lastVersion.sh
@@ -1,9 +1,9 @@
#!/bin/bash
-curl "https://github.com/mtoyoda/sl/releases" 2> /dev/null | \
- tr "\"" "\n" | \
+curl -Ss "https://github.com/mtoyoda/sl/releases" | \
+ tr '"' '\n' | \
sed '
- s@^/mtoyoda/sl/archive/refs/tags/\([0-9.-]*\)\.tar\.gz$@\1@
+ s@^/mtoyoda/sl/releases/tag/\([0-9.-]\+\)$@\1@
t
d
' | \