Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: aw on September 27, 2015, 12:46:52 AM

Title: bash install error when tcuser is no tc
Post by: aw on September 27, 2015, 12:46:52 AM
Hi,

The last line of 6.x/x86_64/bash.tcz -- tce.installed script produces an error if the tcuser is not tc:

Quote
chown: unknown user/group tc:staff

It's hardcoded for the user tc. Here's the offending line from /usr/local/tce.installed/bash:

Code: [Select]
chown tc:staff /home/"$TCHOME"/.bashrc
I'm guessing this can be fixed with:

Code: [Select]
chown $TCHOME:staff /home/"$TCHOME"/.bashrc
Thanks.

Edit: This doesn't actually prevent the installation of the bash extension, so not a very serious issue..
Title: Re: bash install error when tcuser is no tc
Post by: Juanito on September 27, 2015, 04:48:37 AM
bash startup script adjusted in 6.x x86 and x86_64 repos - thanks