aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2004-02-26 09:59:18 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2004-02-26 09:59:18 +0000
commit31a5625f9fb62b32a7f7022c286b765f92857e78 (patch)
tree77e99938c2bb4d8139c3a5d7dbfcc03e53d4b53c /chapter06
parentdd3e8c6e5be2adf04292169cc134585e94f50961 (diff)
Removed the creation of /usr/etc to conform to FHS - closes bug 775
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3263 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/chapter06.xml18
1 files changed, 10 insertions, 8 deletions
diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml
index cf7f0c980..0df77c71e 100644
--- a/chapter06/chapter06.xml
+++ b/chapter06/chapter06.xml
@@ -211,14 +211,16 @@ standard tree:</para>
<screen><userinput>mkdir -p /{bin,boot,dev/{pts,shm},etc/opt,home,lib,mnt,proc}
mkdir -p /{root,sbin,tmp,usr/local,var,opt}
-for dirname in /usr /usr/local
-&nbsp;&nbsp;&nbsp;&nbsp;do
-&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/{bin,etc,include,lib,sbin,share,src}
-&nbsp;&nbsp;&nbsp;&nbsp;ln -s share/{man,doc,info} $dirname
-&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/share/{doc,info,locale,man}
-&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/share/{misc,terminfo,zoneinfo}
-&nbsp;&nbsp;&nbsp;&nbsp;mkdir $dirname/share/man/man{1,2,3,4,5,6,7,8}
-done
+mkdir /usr/{bin,include,lib,sbin,share,src}
+ln -s share/{man,doc,info} /usr
+mkdir /usr/share/{doc,info,locale,man}
+mkdir /usr/share/{misc,terminfo,zoneinfo}
+mkdir /usr/share/man/man{1,2,3,4,5,6,7,8}
+mkdir /usr/local/{bin,etc,include,lib,sbin,share,src}
+ln -s share/{man,doc,info} /usr/local
+mkdir /usr/local/share/{doc,info,locale,man}
+mkdir /usr/local/share/{misc,terminfo,zoneinfo}
+mkdir /usr/local/share/man/man{1,2,3,4,5,6,7,8}
mkdir /var/{lock,log,mail,run,spool}
mkdir -p /var/{tmp,opt,cache,lib/misc,local}
mkdir /opt/{bin,doc,include,info}