wok diff usbids/receipt @ rev 24984

Up ufr2 (2.40-2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:30 2022 +0000 (2022-05-10)
parents 0b7b8e414545
children 0c0dd9573395
line diff
     1.1 --- a/usbids/receipt	Thu Dec 30 11:41:25 2021 +0000
     1.2 +++ b/usbids/receipt	Tue May 10 07:46:30 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="usbids"
     1.7 -VERSION="20211224"
     1.8 +VERSION="2022.02.23"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="List of USB ID's."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -15,10 +15,11 @@
    1.13  
    1.14  HOST_ARCH="i486 arm"
    1.15  
    1.16 +# What is the latest version available today?
    1.17  current_version()
    1.18  {
    1.19  	wget -O - http://www.linux-usb.org/usb.ids 2>/dev/null | \
    1.20 -	sed '/^# Version/!d;s|.*: ||;s|\.||g;q'
    1.21 +	sed '/^# Version/!d;s|.*: ||;q'
    1.22  }
    1.23  
    1.24  # Rules to configure and make the package.