WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: getFlash11  (Read 3508 times)

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
getFlash11
« on: February 29, 2012, 02:03:17 AM »
The script should put the updated extension in tce/optional/upgrade to be consistent with the base update.  Also get these errors when ran:
Code: [Select]
cat: can't open '/opt/.tce_dir': No such file or directory
/usr/local/bin/getflash11.sh: line 113: can't create /onboot.lst: Permission denied
Probably because /opt/.tce_dir was replaced with /etc/sysconfig/tcedir

Also, running getflash11.sh from a base norestore boot did not grab the current flash11 version.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 550
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: getFlash11
« Reply #1 on: February 29, 2012, 11:40:10 AM »
it seems that you have to do the following after upgrade tcl version
Team Tiny Core is proud to announce the release of Core 4.2.
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/4.x/x86/release

Files likely in your backup that will need to be updated:
.setbackground
.profile
.xsession

Note: You must recreate all ondemand items. Use AppsAudit OnDemand Maintenance.
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: getFlash11
« Reply #2 on: February 29, 2012, 10:31:32 PM »
updating extensions is different then updating the core...this is a request to fix how the flash11 extension is updated by getflash11
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: getFlash11
« Reply #3 on: February 29, 2012, 11:12:12 PM »
Getflash11 gets flash and builds the extension.  This is not necessarily an update.
Putting the flash extension in upgrade would prevent tce-load -i flash11 from working.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: getFlash11
« Reply #4 on: March 01, 2012, 07:47:11 AM »
The current getFlash11.tcz uses the below to determine the tce directory.  It recognized /etc/sysconfig/tcedir if it exists, otherwise falls back to the /opt/.tce_dir so it is also backwards compatible:

if [ -d /etc/sysconfig/tcedir ]; then
  TCEDIR=`readlink /etc/sysconfig/tcedir`
elif [ -f /opt/.tce_dir ]; then
  TCEDIR=`cat /opt/.tce_dir`
fi

Also, when run it tests for the existence of a currently installed flash11.tcz, and prompts you do you want to overwrite it, requiring a reboot, or exit.  That way there is no unexpected breakage during a running session.

I will consider using /upgrades as the target location for flash11.tcz, and simply move it over in the lack of a loaded flash11.tcz. 

I will update it to fetch the current flash version by default, as is always the intention, but it has to be manually adjusted with each update with the new way adobe stores their tarballs.



Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: getFlash11
« Reply #5 on: March 02, 2012, 03:58:12 PM »
if [ -d /etc/sysconfig/tcedir ]; then
  TCEDIR=`readlink /etc/sysconfig/tcedir`
elif [ -f /opt/.tce_dir ]; then
  TCEDIR=`cat /opt/.tce_dir`
fi
The getFlash11 extension that I have does not have this check...apps audit update says all my extensions are up to date.

I started working on some updates to this script...the only part I have left is getting the current version from adobe. I won't be able to get back to this for a few days.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: getFlash11
« Reply #6 on: March 02, 2012, 07:58:13 PM »
I remade the zsync file for getFlash11.tcz, maybe there was an issue there.

The getFlash11.scm has the current flash version number for reference.

I am more than happy for others to provide updates to getFlash11, as my time is focused in other areas for now.

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: getFlash11
« Reply #7 on: March 11, 2012, 04:00:23 AM »
apps audit still did not say an update was available for getFlash11...

I updated the script, now it will download the latest version or a version that the user inputs.  If flash11 is installed while the new flash11 is built, the new version will be put in tcedir/optional/upgrade/ to follow the standard tinycore update procedure.  Added exception output when a script failure is found.

Edit:
Also moved the libflashsupport.so to usr/local/share/getFlash11/ directory to correctly update this lib if flash11 is already installed.
« Last Edit: March 11, 2012, 04:03:11 AM by robc »
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard