Tiny Core Base > Final Releases

Core v4.5.2

<< < (3/8) > >>

uggla:
There is still a problem with the ondemand script. Adding a ondemand app now creates the following script:


--- Code: ---#!/bin/sh
TCEDIR=/etc/sysconfig/tcedir
if [ ! -e /usr/local/tce.installed/fluff ]; then
  tce-load -is $TCEDIR/optional/fluff.tcz
fi
[ $(which fluff) ] && exec   fluff

--- End code ---

It should look like this:


--- Code: ---#!/bin/sh
TCEDIR=/etc/sysconfig/tcedir
if [ ! -e /usr/local/tce.installed/fluff ]; then
  tce-load -is $TCEDIR/optional/fluff.tcz
fi
[ $(which fluff) ] && exec fluff "$@"
--- End code ---

By the way, what's the point declaring a TCEDIR variable when it's only used once?

Rich:
Hi uggla

--- Quote ---By the way, what's the point declaring a TCEDIR variable when it's only used once?
--- End quote ---
Maintaining consistency with the other system scripts comes to mind. And speaking of maintaining, if
"/etc/sysconfig/tcedir"  were ever to change in the future, a find and replace of  "TCEDIR=/etc/sysconfig/tcedir"
is all that's needed to update all of the scripts.

uggla:
Shouldn't TCEDIR be a system wide parameter? Why redefine it in every script?

roberts:
ondemand issue fixed and posted.
Even though I asked bugs to be posted in the tcb bugs section we are still using news.
I am not sure what to make of that.  And we seem to be in the nit picky comments.
It is easy to be a Monday morning quarterback. It is always easier to criticize than to create.

roberts:

--- Quote from: AbNoRMiS on May 05, 2012, 08:57:58 AM ---found issue in apps-browser (tcz)
now selected extension can not be excluded
from the list of extensions which are marked for deletion
apps -> maintenance -> dependencies and deletions -> mark for deletion
apps -> maintenance -> dependencies and deletions -> display marked for deletion

--- End quote ---
Yes, I see I forgot to activate a button. It is hard to be perfect. I guess in the future we should have a multi month relese candidate testing cycle, so that some of the nuances can be caught. Bu then many won't touch an RC. Standby I will post another update.
I will post fix shortly.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version