Opened 19 years ago

Last modified 19 years ago

#1656 closed enhancement

Redundancy in Chapter 6 "Creating Directories" — at Version 2

Reported by: gerard@… Owned by: lfs-book@…
Priority: lowest Milestone: 6.2
Component: Book Version: SVN
Severity: trivial Keywords:
Cc:

Description (last modified by Jeremy Huntwork)

From Randy McMurphy:

Not sure if this is intentional or not, but if it isn't then perhaps y'all may want to do something about it.

There is some redundancy in the Chapter 6 "Creating Directories" section. The following lines could be changed as follows:

install -dv /{sbin,srv,usr/local,var,opt} to install -dv /{sbin,srv} (in fact, the sbin and srv dirs could simply be placed on the previous line)

install -dv /usr/share/{doc,info,locale,man} to install -dv /usr/share/{doc,info,locale}

install -dv /usr/local/{bin,etc,include,lib,sbin,share,src} to install -dv /usr/local/{bin,etc,include,lib,sbin,src}

install -dv /usr/local/share/{doc,info,locale,man} to install -dv /usr/local/share/{doc,info,locale}

Change History (2)

comment:1 by chris@…, 19 years ago

You probably could remove all references to "/usr/local" entirely and simply replace every instance of "/usr" with "/usr{/local}". But then I know that a certain part of the LFS book is education and making it clear how things are done, which may not always necessarily be the best technical way to get things done.

comment:2 by Jeremy Huntwork, 19 years ago

Description: modified (diff)
Milestone: 6.2
Severity: normaltrivial
Note: See TracTickets for help on using tickets.