diff options
Diffstat (limited to 'chapter06/creatingdirs.xml')
-rw-r--r-- | chapter06/creatingdirs.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 382b1e504..edd659738 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -24,8 +24,9 @@ mkdir -pv /usr/{,local/}share/man/man{1..8} for dir in /usr /usr/local; do ln -sv share/{man,doc,info} $dir done -ln -sv lib /lib64 -ln -sv lib /usr/lib64 +case $(uname -m) in + x86_64) ln -sv lib /lib64 && ln -sv lib /usr/lib64 ;; +esac mkdir -v /var/{lock,log,mail,run,spool} mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen> |