diff --git a/recipes/default.rb b/recipes/default.rb
index 65982f31eed46c29b3e49375f9fa40208d5fa524..09c228accbc5ee858a6d6ea4c001cc84e5275f84 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