Bug#833433: jessie-pu: package flashplugin-nonfree/1:3.6.1+deb8u1
Control: tag -1 moreinfo
On Thu, Aug 4, 2016 at 11:38:34 +0200, Bart Martens wrote:
> 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 <bartm@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-04 11:04:15.000000000 +0200
> @@ -183,6 +183,15 @@
>
> if [ -f $cachedir/get-upstream-version.pl ]
> then
> + if [ "`stat --format=%y $cachedir/get-upstream-version.pl`" \< "2016-08-04 09:35" ]
> + 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
>
Not sure about using string comparison for comparing dates. And is stat
--format=%y's output stable across locales etc? Wouldn't stat
--format=%Y and test -lt make this easier?
Cheers,
Julien
Reply to: