WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ondemand bug  (Read 3333 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
ondemand bug
« on: March 07, 2010, 06: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
« Last Edit: March 07, 2010, 12:07:40 PM by jls_legalize »
dCore user

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: ondemand bug
« Reply #1 on: March 07, 2010, 11:02:10 AM »
It would appear that you mis-typed the program name when prompted.
Quote
$(which audaciuos) ] && audaciuos
should be audacious
10+ Years Contributing to Linux Open Source Projects.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: ondemand bug
« Reply #2 on: March 07, 2010, 12: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
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: ondemand bug
« Reply #3 on: March 07, 2010, 12:12:45 PM »
line 13:
Code: [Select]
APPNAME="${EXTN%%.*}"should be
Code: [Select]
APPNAME=$(getbasefile "$EXTN" 1)
dCore user

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: ondemand bug
« Reply #4 on: March 07, 2010, 12: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.
10+ Years Contributing to Linux Open Source Projects.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9730
Re: ondemand bug
« Reply #5 on: March 07, 2010, 01: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.
« Last Edit: March 07, 2010, 01:21:57 PM by Jason W »