wok diff pam_ldap/receipt @ rev 24985

Add python-future
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:58 2022 +0000 (2022-05-10)
parents bd7510903310
children 1f9238437d3b
line diff
     1.1 --- a/pam_ldap/receipt	Sun May 01 08:42:44 2022 +0000
     1.2 +++ b/pam_ldap/receipt	Tue May 10 07:46:58 2022 +0000
     1.3 @@ -19,7 +19,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
     1.7 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
     1.8 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.