I think my solution was more robust that the current one, because you cannot be 
sure, I think, 
that no other space occurs between beginning of line and the string "LNX".

Also, if two spaces occur right after LNX both solutions fail.

But it is your choice, for now it works, thank you.

--
enzotib


Il giorno 14/set/2014, alle ore 14:06, Debian Bug Tracking System 
<ow...@bugs.debian.org> ha scritto:

> This is an automatic notification regarding your Bug report
> which was filed against the pepperflashplugin-nonfree package:
> 
> #761397: pepperflashplugin-nonfree: Wrong plugin version detected
> 
> It has been closed by Bart Martens <ba...@debian.org>.
> 
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Bart Martens 
> <ba...@debian.org> by
> replying to this email.
> 
> 
> -- 
> 761397: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761397
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems
> 
> Da: Bart Martens <ba...@debian.org>
> Oggetto: Bug#761397: fixed in pepperflashplugin-nonfree 1.7
> Data: 14 settembre 2014 14:03:37 CEST
> A: 761397-cl...@bugs.debian.org
> 
> 
> Source: pepperflashplugin-nonfree
> Source-Version: 1.7
> 
> We believe that the bug you reported is fixed in the latest version of
> pepperflashplugin-nonfree, which is due to be installed in the Debian FTP 
> archive.
> 
> A summary of the changes between this version and the previous one is
> attached.
> 
> Thank you for reporting the bug, which will now be closed.  If you
> have further comments please address them to 761...@bugs.debian.org,
> and the maintainer will reopen the bug report if appropriate.
> 
> Debian distribution maintenance software
> pp.
> Bart Martens <ba...@debian.org> (supplier of updated 
> pepperflashplugin-nonfree package)
> 
> (This message was generated automatically at their request; if you
> believe that there is a problem with it please contact the archive
> administrators by mailing ftpmas...@ftp-master.debian.org)
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> Format: 1.8
> Date: Sun, 14 Sep 2014 12:39:03 +0200
> Source: pepperflashplugin-nonfree
> Binary: pepperflashplugin-nonfree
> Architecture: source amd64
> Version: 1.7
> Distribution: unstable
> Urgency: medium
> Maintainer: Bart Martens <ba...@debian.org>
> Changed-By: Bart Martens <ba...@debian.org>
> Description:
> pepperflashplugin-nonfree - Pepper Flash Player - browser plugin
> Closes: 761323 761397 761495
> Changes:
> pepperflashplugin-nonfree (1.7) unstable; urgency=medium
> .
>   * Closes: #761397 :
>     + etc-chromium-default.txt: Use same approach as in
>       update-pepperflashplugin-nonfree for reading the flash version
>       from the so file.
>     + update-pepperflashplugin-nonfree: Replace contents of
>       etc-chromium-default.txt in /etc/chromium/default when
>       installing again.
>     + Remove contents of etc-chromium-default.txt from /etc/chromium/default
>       when uninstalling and when /etc/chromium.d exists.
>   * update-pepperflashplugin-nonfree: Added removal of old deb files.
>     Closes: #761323, #761495.
> Checksums-Sha1:
> e742e90e7003c56006efcd30e96c13d15fd8e825 1556 
> pepperflashplugin-nonfree_1.7.dsc
> f32a0cad2863cc3bfef010c6e5430d397bb52dfc 9856 
> pepperflashplugin-nonfree_1.7.tar.xz
> b06e5355d6e2746168f09350930f38a4982a4c3b 10730 
> pepperflashplugin-nonfree_1.7_amd64.deb
> Checksums-Sha256:
> eeb2ace29ba0363b8d71805dacf2a362125e7fbef0766164dcbd5cbacf3d6f8a 1556 
> pepperflashplugin-nonfree_1.7.dsc
> 1d1780a0b284085beec7fe7851601c489d82b506dff1e4e89ab75775e861c044 9856 
> pepperflashplugin-nonfree_1.7.tar.xz
> cb2a5755e83078038f7b4600c9c888ee2a84e65f6bc59d0a48c377ebc489a460 10730 
> pepperflashplugin-nonfree_1.7_amd64.deb
> Files:
> 2fa36fef42db1d384f9029d6c17f3f26 10730 contrib/web optional 
> pepperflashplugin-nonfree_1.7_amd64.deb
> b48fa062e748b3b4e0581bac18824715 1556 contrib/web optional 
> pepperflashplugin-nonfree_1.7.dsc
> 05616468a7d989b657efef15ddd44bff 9856 contrib/web optional 
> pepperflashplugin-nonfree_1.7.tar.xz
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> 
> iQIcBAEBCAAGBQJUFYHMAAoJEDNV9NY7WCHMzk0P/398c/i6wpg5lKAgZ7POe6XD
> lOqXgGoh3nLv4YNAXnD1D2oTb9Q+8A5Tfl6h7V2NdN2wm7WB6PdFUoiz8z3zjG73
> mnCe0IRDFt/H5IFqDvzg100zCunC0ybw8m4PY368epTuX9H1lXwxpE5hs5PM0+Ro
> 3ZTjpDPH3V2lAFSj92JMXYGKCsdG1OFvWBHUGfUGXXZU5JN2hupWsLmnWYdw3JHe
> qYECmPfSD6vkroRsORZHAhlHTHO0omvobLxUx0dVH5PLQsoExyDGfMmTCfdvYi4V
> 5e/rX3/iEb/GhvOXztz0A5vA/FdciU+V66hnPLxKarB4cfvrxTsGND+JD7MUunoK
> sL3Cz0zbfl4p9cgh2qBCg6boQpWZPWWjUnS5I9qg19BRvj96CLq09SopvudsuooH
> LlwY0/IkQWGLTQurYj07eAxzdAoVEZv5ZrpfI4b9w/DGsSBkAVWD5PV1EqPMp9/C
> nFMclJMRyqMPa3lK9Yp82XKjQLf1PqCQC1sHkQdj6Gh2SDHj/4XWMx3+u+wW/sYP
> h73Oug60MLcsgZl91x/8hyX8uze2O5gPdPAzvAwDv+5Sq4x8AY4K31khM2b27d4i
> Yfk7EVqmjX4TZO92C92NipTxihiks18oVBvGQHILIfSudTAtJ+IdfS3JthRLQPLr
> 5bN/fmYEnAKWSfjdzbbZ
> =Kzm3
> -----END PGP SIGNATURE-----
> 
> 
> Da: Vincenzo Tibullo <enzo...@gmail.com>
> Oggetto: pepperflashplugin-nonfree: Wrong plugin version detected
> Data: 13 settembre 2014 17:07:52 CEST
> A: Debian Bug Tracking System <sub...@bugs.debian.org>
> 
> 
> Package: pepperflashplugin-nonfree
> Version: 1.6
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
>   * What led up to the situation?
> 
>      Some web pages reported an old flashplayer version, for example the game 
> FarmVille2 on Facebook
> 
>   * What exactly did you do (or not do) that was effective (or
>     ineffective)?
> 
>      I verified that in chrome://plugins the version was 11.2 r999
>      I found that the code in /etc/chromium/default that extracts the version 
> number was wrong and I modified it.
>      This is a patch:
> 
> 
> --- /etc/chromium/default.old 2014-09-13 16:47:55.965529696 +0200
> +++ /etc/chromium/default     2014-09-13 16:48:16.339722881 +0200
> @@ -10,7 +10,7 @@
> 
> if [ -f $flashso ]
> then
> -        flashversion=`strings $flashso|grep ^LNX|sed -e "s/^LNX //"|sed -e 
> "s/,/./g"`
> +        flashversion=`strings $flashso|grep LNX|sed -e "s/.*LNX //"|sed -e 
> "s/,/./g"`
>         CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flashso 
> --ppapi-flash-version=$flashversion"
> fi
> 
> 
> 
>   * What was the outcome of this action?
> 
>      Chromium now reports the correct version and the affected web pages now 
> work.
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>  APT prefers unstable
>  APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.14-2-amd64 (SMP w/1 CPU core)
> Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages pepperflashplugin-nonfree depends on:
> ii  binutils               2.24.51.20140903-1
> ii  ca-certificates        20140325
> ii  debconf [debconf-2.0]  1.5.53
> ii  gnupg                  1.4.18-4
> ii  libatk1.0-0            2.12.0-1
> ii  libcairo2              1.12.16-5
> ii  libcurl3-gnutls        7.37.1-1
> ii  libfontconfig1         2.11.0-6
> ii  libfreetype6           2.5.2-1.1
> ii  libgcc1                1:4.9.1-12
> ii  libglib2.0-0           2.40.0-5
> ii  libgtk2.0-0            2.24.24-1
> ii  libnspr4               2:4.10.7-1
> ii  libnss3                2:3.17-1
> ii  libpango-1.0-0         1.36.7-1
> ii  libpango1.0-0          1.36.7-1
> ii  libstdc++6             4.9.1-12
> ii  libx11-6               2:1.6.2-3
> ii  libxext6               2:1.3.2-1
> ii  libxt6                 1:1.1.4-1
> ii  wget                   1.15-1+b1
> 
> pepperflashplugin-nonfree recommends no packages.
> 
> Versions of packages pepperflashplugin-nonfree suggests:
> ii  chromium                   35.0.1916.153-2
> pn  hal                        <none>
> pn  ttf-dejavu                 <none>
> pn  ttf-mscorefonts-installer  <none>
> pn  ttf-xfree86-nonfree        <none>
> 
> -- no debconf information
> 
> 


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to