aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/creatingdirs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/creatingdirs.xml')
-rw-r--r--chapter06/creatingdirs.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml
index 5443326a9..8240d2f35 100644
--- a/chapter06/creatingdirs.xml
+++ b/chapter06/creatingdirs.xml
@@ -22,9 +22,13 @@ mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man}
mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo}
mkdir -v /usr/libexec
mkdir -pv /usr/{,local/}share/man/man{1..8}
+
case $(uname -m) in
- x86_64) ln -sv lib /lib64 && ln -sv lib /usr/lib64 && ln -sv lib /usr/local/lib64 ;;
+ x86_64) ln -sv lib /lib64 &&
+ ln -sv lib /usr/lib64 &&
+ ln -sv lib /usr/local/lib64 ;;
esac
+
mkdir -v /var/{log,mail,spool}
ln -sv /run /var/run
ln -sv /run/lock /var/lock