freebsd-ports/www/typo344/pkg-plist
Martin Wilke 3aa5209700 - Fix remove of typo3 configuration
PR:		139596
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
2009-10-14 13:12:44 +00:00

3 lines
336 B
Text

@exec mkdir -p %D/www/typo3/typo3conf 2> /dev/null
@exec [ -f %D/www/typo3/typo3conf/localconf.php ] || cp %D/www/typo3/typo3conf/localconf.php.dist %D/www/typo3/typo3conf/localconf.php
@unexec if cmp -s %D/www/typo3/typo3conf/localconf.php %D/www/typo3/typo3conf/localconf.php.dist; then rm -f %D/www/typo3/typo3conf/localconf.php; fi