Jelajahi Sumber

added vim patch command to FHS section

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1925 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 23 tahun lalu
induk
melakukan
1495852dd0
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      chapter06/vim-inst.xml

+ 2 - 1
chapter06/vim-inst.xml

@@ -31,7 +31,8 @@ for their temporary state files, like temporary save files for example.
 If you wish vim to conform to the FHS, you should use this command set 
 instead of the one presented above:</para>
 
-<para><screen><userinput>./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
+<para><screen><userinput>patch -Np1 -i ../vim-&vim-version;.patch &amp;&amp;
+./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;
 make CPPFLAGS=-DSYS_VIMRC_FILE=\\\"/etc/vimrc\\\" &amp;&amp;
 make install &amp;&amp;
 ln -sf vim /usr/bin/vi</userinput></screen></para>