From e1c5bb654dde408ba9c142baaa28df198a4cfb94 Mon Sep 17 00:00:00 2001
From: Stefan Galinski <stefan@sgalinski.de>
Date: Sat, 25 Apr 2015 17:52:24 +0200
Subject: [PATCH] [BUGFIX] Don't create wrong symbolic links while installing
 TYPO3

---
 recipes/default.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/default.rb b/recipes/default.rb
index 65982f3..09c228a 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -212,12 +212,12 @@ bash 'Setup TYPO3' do
 		ln -s ../typo3_src-#{node['typo3_site']['typo3_version']} typo3_src
 		touch typo3conf/ENABLE_INSTALL_TOOL
 
-		if [ ! -f typo3 ]
+		if [ ! -e typo3 ]
 		then
 			ln -s typo3_src/typo3 typo3
 		fi
 
-		if [ ! -f index.php ]
+		if [ ! -e index.php ]
 		then
 			ln -s typo3_src/index.php index.php
 		fi
-- 
GitLab