wok diff postgresql/receipt @ rev 25604

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 17:30:47 2023 +0000 (2023-07-18)
parents df63c4ce07f8
children
line diff
     1.1 --- a/postgresql/receipt	Fri Sep 02 16:30:36 2022 +0000
     1.2 +++ b/postgresql/receipt	Tue Jul 18 17:30:47 2023 +0000
     1.3 @@ -19,10 +19,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://www.postgresql.org/ftp/source/$(\
     1.8 -	wget -O - https://www.postgresql.org/ftp/source/ 2>/dev/null | \
     1.9 -	sed '/href="v[0-9]/!d;s|.*href="||;s|/.*||;q')/ 2>/dev/null | \
    1.10 -	sed '/postgresql-/!d;/news/d;s|.*postgresql-||;s|.tar.*||;q'
    1.11 +	wget -O - https://www.postgresql.org/community/ 2>/dev/null | \
    1.12 +	sed '/released/!d;s|.*sql-||;s|-rel.*||;s|-||g;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.