MySQL and "More Control/Package Users" Package Mgmt

Trent Shea trentshea at gmail.com
Wed Jun 23 21:24:02 PDT 2010


On Wednesday 23 June 2010 21:32:41 Timothy Rice wrote:
> That is what I thought 'dir' was for, and I guessed that that is what
> install-info did. However, it does not make sense to me that the previous
> dir needs to be deleted first, before redoing install-info for all the
> packages already installed.
True, considering the for statement just walks through the entire directory 
anyhow.

> Assuming the mysql package user does have write permissions to `dir', why
> is it not sufficient to simply run a command such as the following?:
> install-info mysql.info dir 2>/dev/null
I'm afraid I don't have an answer, you may just have to play around and see if 
the same dir file gets produced. Toying around here, though, your suggested 
command seems to produce the same dir file as the for statement.

Maybe there's another reason for walking through the directory, other than 
just taking the opportunity to catch any other missed dir entries?

-- 
Regards,
Trent.



More information about the blfs-support mailing list