wok-6.x diff nethack/receipt @ rev 24549

updated firehol (3.1.6 -> 3.1.7)
author Hans-G?nter Theisgen
date Fri Feb 25 07:59:08 2022 +0100 (2022-02-25)
parents afae00265386
children
line diff
     1.1 --- a/nethack/receipt	Tue Feb 08 16:59:06 2022 +0000
     1.2 +++ b/nethack/receipt	Fri Feb 25 07:59:08 2022 +0100
     1.3 @@ -16,9 +16,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/nethack/files/nethack/ 2>/dev/null | \
     1.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.9 -	sed '/scope="row/!d;s|.*/nethack/||;s|/.*||;q'
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed '/version/!d;s|.*sion ||;s|<.*||'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.