Working on it, just about finished with a rewrite of the script, I'll be giving it a menu entry, when run it will give the option to check for new flash version at startup and some other features.bigpup wrote:If you offer an option, so the program searches for a new version of Flash Player, notifies about the update, but gives you the option to download and install.
Adobe Flash Player Auto Updater
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
Installed latest version = update_flash-1.3
Doean't run from the menu entry.
Get this in a console.
Doean't run from the menu entry.
Get this in a console.
Code: Select all
# update_flash
awk: cmd. line:1: fatal: cannot open file `/root/.update_flash' for reading (No such file or directory)
/usr/bin/update_flash: line 28: yad: command not found
#
It needs yad installed to run, I'm guessing your trying it in slacko which doesn't have yad,Sylvander wrote:Installed latest version = update_flash-1.3
Doean't run from the menu entry.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
https://github.com/rtrouton/rtrouton_sc ... ash_player
https://github.com/rtrouton/rtrouton_sc ... _player.sh
Don't know if there is anything from the above Mac OSX update script that would be of any use as that determines and grabs the latest version........
https://github.com/rtrouton/rtrouton_sc ... _player.sh
Don't know if there is anything from the above Mac OSX update script that would be of any use as that determines and grabs the latest version........
It only updates if flashplayer was previously installed from a pet or manually added, it doesn't install the entire flash package, only the libflashplayer.so,Sylvander wrote:Now I'm getting this:
How come?
it looks for an existing file as it retrieves the version number to tell whether it's up to date, it also uses the the icons from an installation.
If you comment out the lines in red, it will work if the libflashplayer.so is missing
73 #export FLASH_PLAYER="/usr/lib/mozilla/plugins/libflashplayer.so"
74 function ABOUT_UPDATER(){
75 #if [ ! -f "$FLASH_PLAYER" ]; then
76 #ABOUT="<b><span size='"'x-large'"'>Adobe Flash Player</span></b>
77 #Doesn't appear to have been installed
78 #Please click on the links for the latest Flash packages"
79 #LINK1="<b><u><span color='"'blue'"'>Update Flash 1.3 By Geoffrey 11th August 2015</span></u></b>"
80 #LINK2="<b><u><span color='"'blue'"'>http://www.murga-linux.com/puppy/viewto ... an></u></b>"
81 #LINK3="<b><u><span color='"'blue'"'>http://www.smokey01.com/OscarTalks</span></u></b>"
82 #else
83 ABOUT="<b><span size='"'x-large'"'>Adobe Flash Updater</span></b>
84 Updates only the flash player plugin libflashplayer.so
85 Please click on the links for the latest Flash packages"
86 LINK1="<b><u><span color='"'blue'"'>Update Flash 1.3 By Geoffrey 11th August 2015</span></u></b>"
87 LINK2="<b><u><span color='"'blue'"'>http://www.murga-linux.com/puppy/viewto ... an></u></b>"
88 LINK3="<b><u><span color='"'blue'"'>http://www.smokey01.com/OscarTalks</span></u></b>"
89 #fi
~
~
~
124 #[ ! -f "$FLASH_PLAYER" ] && ABOUT_UPDATER && exit 1
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
perl -> sed
Code: Select all
LATEST_VERSION=`perl -ne 'if(m/Version (.*?)</){ print $1 . "\n"; }' ~/.flash_update/index.html || sed -n '/<strong>Version /s/^.*<strong>Version \(.*\)<\/strong>.*$/\1/p' ~/.flash_update/index.html `
[url=https://sourceforge.net/projects/puppyrusa/]PuppyRus-Arch[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I just test your script (useful and effective).Geoffrey wrote:Updated to version 1.4, all gtkdialog now, no yad, enable/disable run at startup or run from menu.
My proposal: rather than proposing a new utility, you could help develop "getflash". If you agree, you're welcome.
http://www.murga-linux.com/puppy/viewtopic.php?t=74491
Regards
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
The Getflash in Tahrpup 6.0.3 does have a forum link to Auto Updater, if you want to install and use it.
Making it an option, to select in Getflash, does seem like a good idea.
Seems like a good combining of two very good programs.
Getflash would initially install Flash.
Your code would add the option to make it auto update.
I like it
Making it an option, to select in Getflash, does seem like a good idea.
Seems like a good combining of two very good programs.
Getflash would initially install Flash.
Your code would add the option to make it auto update.
I like it
- Attachments
-
- capture19202.png
- (52.5 KiB) Downloaded 521 times
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Good idea!bigpup wrote:Making it an option, to select in Getflash, does seem like a good idea.
Seems like a good combining of two very good programs.
Getflash would initially install Flash.
Your code would add the option to make it auto update.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
I started integrating the automatic update.bigpup wrote:Your code would add the option to make it auto update.
To be continued ...
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Could this option be set to check at each boot up and auto update as needed without any user prompt?ASRI éducation wrote:I started integrating the automatic update.bigpup wrote:Your code would add the option to make it auto update.
To be continued ...
It would save having to keep rewriting and chucking away DVD-r disks.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
Hello zakjoh,zakjoh wrote:Could this option be set to check at each boot up and auto update as needed without any user prompt?ASRI éducation wrote:I started integrating the automatic update.bigpup wrote:Your code would add the option to make it auto update.
It would save having to keep rewriting and chucking away DVD-r disks.
For my first test, I did as Geoffrey: check the presence of an update, then offer its installation. The installation requires confirmation (one click) of the user.
The silent automatic installation is possible, but it is a good idea?
I need to think about it.
What is the opinion of Geoffrey?
Regards,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]
Not everyone likes the idea of not having some control of the update process, so I thought it better that it only checks and gives the option to download and perform the update installation.ASRI éducation wrote: The silent automatic installation is possible, but it is a good idea?
I need to think about it.
What is the opinion of Geoffrey?
Regards,
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]
If it could be made optional then it would be up to the user to select it, I wasn't trying to suggest it should be forced upon anyone , sorry if i gave that impression.
It would also be a great help with elder family members that are not very computer literate as they can then be told to ignore / cancel any messages from flashplayer to be updated as that how most people get exploited.
It would also be a great help with elder family members that are not very computer literate as they can then be told to ignore / cancel any messages from flashplayer to be updated as that how most people get exploited.
- ASRI éducation
- Posts: 3197
- Joined: Sat 09 May 2009, 12:10
- Location: France
- Contact:
It is done, the "silent installation" option has been added.zakjoh wrote:If it could be made optional then it would be up to the user to select it
I must now put the script on a git (to facilitate the collaboration).
Regards,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]