wok-current diff drupal/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (21 months ago) |
parents | 0f4a853f36b4 |
children |
line diff
1.1 --- a/drupal/receipt Sun Feb 20 10:12:06 2022 +0100 1.2 +++ b/drupal/receipt Tue Apr 25 18:09:10 2023 +0000 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="PHP content management system." 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 LICENSE="GPL2" 1.7 -WEB_SITE="https://www.drupal.org/" 1.8 +WEB_SITE="https://git.drupalcode.org/project/drupal" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WGET_URL="https://ftp.drupal.org/files/projects/$TARBALL" 1.12 @@ -17,8 +17,8 @@ 1.13 # What is the latest version available today? 1.14 current_version() 1.15 { 1.16 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.17 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/dev/d;/-rc/d;/-beta/d;/-alpha/d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.18 + wget -O - https://git.drupalcode.org/project/drupal/-/tags?sort=updated_desc 2>/dev/null | \ 1.19 + sed '/item-title/!d;/alpha/d;s|.*">||;s|<.*||' | sort -Vr | sed q 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg.