Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: jls on March 07, 2010, 09:11:06 AM

Title: ondemand bug
Post by: jls on March 07, 2010, 09:11:06 AM
Code: [Select]
[ -e /usr/local/tce.installed/audacious-1 ] && exit 0
this should be
[ -e /usr/local/tce.installed/audacious-1.5.1 ] && exit 0
Title: Re: ondemand bug
Post by: roberts on March 07, 2010, 02:02:10 PM
It would appear that you mis-typed the program name when prompted.
Quote
$(which audaciuos) ] && audaciuos
should be audacious
Title: Re: ondemand bug
Post by: jls on March 07, 2010, 03:08:39 PM
Code: [Select]
-e /usr/local/tce.installed/audacious-1 ] && exit 0this should be
Code: [Select]
[ -e /usr/local/tce.installed/audacious-1.5.1 ] && exit 0
Title: Re: ondemand bug
Post by: jls on March 07, 2010, 03:12:45 PM
line 13:
Code: [Select]
APPNAME="${EXTN%%.*}"should be
Code: [Select]
APPNAME=$(getbasefile "$EXTN" 1)
Title: Re: ondemand bug
Post by: roberts on March 07, 2010, 03:56:24 PM
OIC. But I thought the rule for extensions is not to use full version numbers. Perhaps not?
I have that function in tc-functions to handle such.
Title: Re: ondemand bug
Post by: Jason W on March 07, 2010, 04:08:25 PM
I was planning to wait until 3.o to rid the non-library extensions of their version numbers to avoid unneeded change, but since it affects TC functions I will go ahead and convert the remaining extensions.  Audacious* has been converted.