wok-6.x diff backintime/receipt @ rev 24358
backintime: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 16:07:00 2022 +0000 (2022-02-03) |
parents | c46e9f046d78 |
children |
line diff
1.1 --- a/backintime/receipt Thu Feb 03 15:43:51 2022 +0100 1.2 +++ b/backintime/receipt Thu Feb 03 16:07:00 2022 +0000 1.3 @@ -10,7 +10,7 @@ 1.4 WEB_SITE="https://github.com/bit-team/backintime" 1.5 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 -WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" 1.8 +WGET_URL="https://github.com/bit-team/backintime/archive/refs/tags/$VERSION.tar.gz" 1.9 1.10 SUGGESTED="backintime-lang" 1.11 DEPENDS="py3k py3k-dbus rsync" 1.12 @@ -18,7 +18,7 @@ 1.13 1.14 current_version() 1.15 { 1.16 - wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.17 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.19 } 1.20