fix missing then Signed-off-by: Mark Kelly <mark . kelly at cadre5 . com>
authorTravis Kemen <thepeople@openwrt.org>
Thu, 8 May 2008 14:59:37 +0000 (14:59 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Thu, 8 May 2008 14:59:37 +0000 (14:59 +0000)
SVN-Revision: 11075

utils/vim/Makefile

index 191018f..92e204c 100644 (file)
@@ -160,7 +160,8 @@ define Package/vim-full/postinst
   if [ $${IPKG_INSTROOT} != / ]
   then
     if [ -d /usr/share/ ]
-      ln -s $${IPKG_INSTROOT}/usr/share/vim/ /usr/share/
+      then
+        ln -s $${IPKG_INSTROOT}/usr/share/vim/ /usr/share/
     fi
   fi
 endef
@@ -170,7 +171,8 @@ define Package/vim/postinst
   if [ $${IPKG_INSTROOT} != / ]
   then
     if [ -d /usr/share/ ]
-      ln -s $${IPKG_INSTROOT}/usr/share/vim/vimrc /usr/share/vim/vimrc
+      then
+        ln -s $${IPKG_INSTROOT}/usr/share/vim/vimrc /usr/share/vim/vimrc
     fi
   fi
 endef