wok diff openssh/receipt @ rev 23626
created recipe for ruby-native-package-installer
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 07:59:09 2020 +0100 (2020-04-16) |
parents | 25f8eb393142 |
children | e04fb802c121 |
line diff
1.1 --- a/openssh/receipt Fri Feb 07 12:27:53 2020 +0100 1.2 +++ b/openssh/receipt Thu Apr 16 07:59:09 2020 +0100 1.3 @@ -21,8 +21,8 @@ 1.4 1.5 current_version() 1.6 { 1.7 - wget -O - $WEB_SITE 2>/dev/null | \ 1.8 - sed '/release-/!d;s|.*release-\(.*\)".*|\1p1|;q' 1.9 + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 1.10 + sed '/tar..z"/!d;s|.*ssh-\(.*\).tar..z".*|\1|' | tail -n1 1.11 } 1.12 1.13 # Rules to configure and make the package.