diff www-apps/redaxo/redaxo-4.2.1.ebuild @ 182:75231bb27b1c

work on the ebuild
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 17 Feb 2010 04:12:16 +0100
parents 75e5b218d321
children 3cdcf4f4578c
line wrap: on
line diff
--- a/www-apps/redaxo/redaxo-4.2.1.ebuild	Wed Feb 17 03:45:07 2010 +0100
+++ b/www-apps/redaxo/redaxo-4.2.1.ebuild	Wed Feb 17 04:12:16 2010 +0100
@@ -30,6 +30,7 @@
 src_install() {
     webapp_src_preinst
 
+    find . -name .DS_Store -exec rm {} \;
 #    rm docs/INSTALL*
 #    local docs="docs/*"
 #    dodoc ${docs}
@@ -37,7 +38,7 @@
 
     einfo "Installing application files."
     cp -r . "${D}"${MY_HTDOCSDIR}
-#    touch "${D}"${MY_HTDOCSDIR}/.htaccess
+    touch "${D}"${MY_HTDOCSDIR}/.htaccess
 #    touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php
 
 #    keepdir ${MY_HTDOCSDIR}/archives/
@@ -46,10 +47,10 @@
     # archives, templates_c and uploads need to be writable to PHP
     # .htaccess and serendipity_config_local.inc.php need to be too
     # plugins and templates need to be writable for spartacus support.
-#    local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads"
-#    for SFILES in ${SERVEROWNED}; do
-#        webapp_serverowned ${MY_HTDOCSDIR}/${SFILES}
-#    done
+    local SERVEROWNED=".htaccess files index.php redaxo"
+    for SFILES in ${SERVEROWNED}; do
+        webapp_serverowned ${MY_HTDOCSDIR}/${SFILES}
+    done
 
     webapp_src_install
 }