Wayne Blaszczyk wrote:
> The Cups installation instructions failed for me if I try to do it for
> the second time, around the mv command. (i.e. directory not empty error)
> Can we put in some logic around this so that the instructions are
> repeatable?
> Maybe replace the move with a copy, then delete?
> The reason why I suggest that rather than an if directory exists
> statement, is the possibility of the documentation changing based on the
> different dependencies being installed at the time from the previous
> install.

Does mv -vf /usr/share/doc/cups /usr/share/doc/cups-1.5.0 work for you?

As for the useradd, I never think of those being scripted.  If you want 
it in a script, just don't add a && and it will print out the error, but 
continue.

I don't really like the GDM construction.  There's about 30 places in 
BLFS for useradd/groupadd and going back and putting an if in all those 
doesn't seem like a good use of time.

If a user knows enough to script it, then he should know enough about 
how to handle this type of thing.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to