Control: tag -1 - moreinfo

On Fri, Aug 05, 2016 at 11:02:40PM +0200, Julien Cristau wrote:
> Control: tag -1 moreinfo
> 
> The current code is not a guarantee for the future.  The function is
> named "human_time".  That makes it IMO wrong to use in a script.  It's
> also not stable across timezones.

Using %Y now, see attached debdiff. Permission to upload?

Regards,

Bart Martens
diff -Nru flashplugin-nonfree-3.6.1/debian/changelog 
flashplugin-nonfree-3.6.1+deb8u1/debian/changelog
--- flashplugin-nonfree-3.6.1/debian/changelog  2014-12-21 10:03:31.000000000 
+0100
+++ flashplugin-nonfree-3.6.1+deb8u1/debian/changelog   2016-08-04 
11:01:28.000000000 +0200
@@ -1,3 +1,10 @@
+flashplugin-nonfree (1:3.6.1+deb8u1) jessie; urgency=medium
+
+  * update-flashplugin-nonfree: Delete old get-upstream-version.pl from cache.
+    Closes: #833413.
+
+ -- Bart Martens <ba...@debian.org>  Thu, 04 Aug 2016 10:59:38 +0200
+
 flashplugin-nonfree (1:3.6.1) unstable; urgency=medium
 
   * debian/control: Pre-Depends: ca-certificates.  Closes: #773633.
diff -Nru flashplugin-nonfree-3.6.1/update-flashplugin-nonfree 
flashplugin-nonfree-3.6.1+deb8u1/update-flashplugin-nonfree
--- flashplugin-nonfree-3.6.1/update-flashplugin-nonfree        2014-09-15 
17:33:57.000000000 +0200
+++ flashplugin-nonfree-3.6.1+deb8u1/update-flashplugin-nonfree 2016-08-06 
07:09:30.000000000 +0200
@@ -183,6 +183,15 @@
 
        if [ -f $cachedir/get-upstream-version.pl ]
        then
+               if [ "`stat --format=%Y $cachedir/get-upstream-version.pl`" -lt 
"1470296100" ] # 2016-08-04 09:35:00.000000000 +0200
+               then
+                       [ "$verbose" != "yes" ] || echo "deleting old 
$cachedir/get-upstream-version.pl"
+                       rm $cachedir/get-upstream-version.pl
+               fi
+       fi
+
+       if [ -f $cachedir/get-upstream-version.pl ]
+       then
                cp $cachedir/get-upstream-version.pl .
                upstream=`perl get-upstream-version.pl $arch_wget 2> /dev/null` 
|| true
 

Reply via email to