TYPO3 / CmsComposerInstallers

TYPO3 CMS Composer Installer
GNU General Public License v2.0
58 stars 39 forks source link

Do not fail if typo3/ or index.php symlink already exists #35

Closed mbrodala closed 7 years ago

mbrodala commented 8 years ago

If one does a rm -rf vendor && composer install errors like this will occur:

[InvalidArgumentException]
The symlink target ".../web/index.php" already exists.

Or:

[InvalidArgumentException]
The symlink target ".../web/typo3" already exists.

This could be avoided if e.g. readlink() was used to verify existing symlinks already point to the expected target.

Currently one has to do rm -rf vendor web/index.php web/typo3 && composer install instead.

helhum commented 7 years ago

This should be solved with 1.4.0RC1. Can you verify?

mbrodala commented 7 years ago

Yes, works perfectly fine now. :-)