Thanks for sharing your script. You must be aware that the link I provided and that you are using points to a specific version of the PPAPI Flash plugin (23.0.0.185). Flash plugins are very short lived; new critical vulnerabilities will be discovered and the version 23.0.0.185 you use in your script will soon be outdated. I would recommend that your script downloads the current version of the plugin from the Canonical partner repository: http://archive.canonical.com/ubuntu/pool/partner/a/adobe-flashplugin/. The name of the file to download will change with every version but it is manageable in a script whereas the URL used by Google Chrome cannot be easily guessed.
Adobe only distributes the NPAPI Flash plugin for Linux on https://get.adobe.com/fr/flashplayer/; AFAIK the PPAPI plugin is only distributed via the Canonical partner repository. I doubt that it makes sense for the package pepperflashplugin-nonfree to download another package (in this case adobe-flashplugin) and extract its content. So most probably the package pepperflashplugin-nonfree is dead.
What is your use case which requires specifically the package pepperflashplugin-nonfree and won't work with adobe-flashplugin?
@Viktor:
Thanks for sharing your script. You must be aware that the link I provided and that you are using points to a specific version of the PPAPI Flash plugin (23.0.0.185). Flash plugins are very short lived; new critical vulnerabilities will be discovered and the version 23.0.0.185 you use in your script will soon be outdated. I would recommend that your script downloads the current version of the plugin from the Canonical partner repository: http:// archive. canonical. com/ubuntu/ pool/partner/ a/adobe- flashplugin/. The name of the file to download will change with every version but it is manageable in a script whereas the URL used by Google Chrome cannot be easily guessed.
Adobe only distributes the NPAPI Flash plugin for Linux on https:/ /get.adobe. com/fr/ flashplayer/; AFAIK the PPAPI plugin is only distributed via the Canonical partner repository. I doubt that it makes sense for the package pepperflashplug in-nonfree to download another package (in this case adobe-flashplugin) and extract its content. So most probably the package pepperflashplug in-nonfree is dead.
What is your use case which requires specifically the package pepperflashplug in-nonfree and won't work with adobe-flashplugin?