Page 1 of 6

Posted: Mon 10 Aug 2015, 20:52
by Geoffrey
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.
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.

Posted: Tue 11 Aug 2015, 12:16
by Geoffrey
New version 1.3 for testing, see first post, there was a new flash update earlier today.

Posted: Wed 12 Aug 2015, 10:43
by Sylvander
Installed latest version = update_flash-1.3
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
# 

Posted: Wed 12 Aug 2015, 12:40
by Geoffrey
Sylvander wrote:Installed latest version = update_flash-1.3
Doean't run from the menu entry.
It needs yad installed to run, I'm guessing your trying it in slacko which doesn't have yad,

Posted: Wed 12 Aug 2015, 15:33
by Sylvander
OK...
Installed yad, and "Update Flash" now runs from the menu entry in Slacko-5.7.0-pae. :D

Looks polished, and seems to be working well.
I like the way it now tells the version it has just installed.

Nice job! 8)

Posted: Thu 13 Aug 2015, 22:41
by Bindee
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........

Posted: Fri 14 Aug 2015, 10:20
by Sylvander
Now I'm getting this:
How come?

Posted: Sat 15 Aug 2015, 01:01
by Geoffrey
Sylvander wrote:Now I'm getting this:
How come?
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,

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

Posted: Sat 15 Aug 2015, 08:27
by Sylvander
Geoffrey wrote:It only updates if flashplayer was previously installed from a pet or manually added
OK, I manually installed flashplayer, and then used your script/program to update it.
Appears to have worked as it aught. :D

Posted: Wed 19 Aug 2015, 07:46
by sfs
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 `

Posted: Sat 17 Oct 2015, 08:15
by Geoffrey
Updated to version 1.4, all gtkdialog now, no yad, enable/disable run at startup or run from menu.

Posted: Thu 22 Oct 2015, 23:37
by ASRI éducation
Geoffrey wrote:Updated to version 1.4, all gtkdialog now, no yad, enable/disable run at startup or run from menu.
I just test your script (useful and effective).
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

Posted: Fri 23 Oct 2015, 00:08
by bigpup
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. :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 :!: :D

Posted: Fri 23 Oct 2015, 09:40
by ASRI éducation
bigpup wrote:Making it an option, to select in Getflash, does seem like a good idea. :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.
Good idea!

Posted: Fri 23 Oct 2015, 13:34
by ASRI éducation
bigpup wrote:Your code would add the option to make it auto update.
I started integrating the automatic update.
To be continued ...

Posted: Sat 24 Oct 2015, 22:16
by zakjoh
ASRI éducation wrote:
bigpup wrote:Your code would add the option to make it auto update.
I started integrating the automatic update.
To be continued ...
Could this option be set to check at each boot up and auto update as needed without any user prompt?

It would save having to keep rewriting and chucking away DVD-r disks.

Posted: Sun 25 Oct 2015, 00:44
by ASRI éducation
zakjoh wrote:
ASRI éducation wrote:
bigpup wrote:Your code would add the option to make it auto update.
I started integrating the automatic update.
Could this option be set to check at each boot up and auto update as needed without any user prompt?
It would save having to keep rewriting and chucking away DVD-r disks.
Hello zakjoh,

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,

Posted: Sun 25 Oct 2015, 02:20
by Geoffrey
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,
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.

Posted: Sun 25 Oct 2015, 09:11
by zakjoh
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.

Posted: Tue 27 Oct 2015, 00:02
by ASRI éducation
zakjoh wrote:If it could be made optional then it would be up to the user to select it
It is done, the "silent installation" option has been added.
I must now put the script on a git (to facilitate the collaboration).
Regards,