Permalink
Browse files

another wordpress fix

  • Loading branch information...
1 parent c8209ce commit 0bbed6983733f72308c7c50636ff02400507a977 @nutztherookie committed Aug 15, 2010
@@ -1,3 +1,3 @@
-AUX wordpress-3.0.1.py 310 RMD160 82e3f5551f9c143fec7232c7d4b6e991023bf06c SHA1 27a979de62fbcd6e5a196f482a63603c794be5ac SHA256 d77073171d764c57e370823088c0d4651de73924a101d1982336bce340854aa4
+AUX wordpress-3.0.1.py 74 RMD160 41f881871060e170dbed2bfe1a60c4d9c64dc686 SHA1 b8347eeb8134f9eea50d1cbdff9fcddf50db8dc7 SHA256 4e9aa544f04e06e06ae933aaee340d1e46a5ca2557a9b3b5e2ee08c14545d244
DIST wordpress-3.0.1.tar.gz 2684855 RMD160 63ca91c69ea668c9df6e58fad1f2f8e48a3909d9 SHA1 3593c93e2c4e3f080e75dd0b0c47cd3d06e1b7d8 SHA256 fd76fb7683c32c4f2d65f5b2cd015cb62d19f1017e3b020f34a98d1b480e1818
-EBUILD wordpress-3.0.1.ebuild 814 RMD160 4fd6990fb92d48e11a89e2b58f6a0c6fd49bd3a0 SHA1 039996f8c835c8f84a82687ab84a286cdd983237 SHA256 3811cb82e82f6dce0056e5d703211f9773a7035de2f8c2f010de3a0bb512dd8a
+EBUILD wordpress-3.0.1.ebuild 830 RMD160 53e6089013a9ef876f1c545db9c62a87acb8cfb8 SHA1 c253a4fec0509be20454ec28979c60bcd4195e9f SHA256 08548aa871f1fb80894b0535c925bac61349e9ca081b3ccfc52a5a77a3686dbd
@@ -1,11 +1,4 @@
#!/usr/bin/env python
-import os
-from wacfg import WaCfg, tools, main
+from wacfg import main
-class WordPress(WaCfg):
- def src_config(self):
- if not os.path.isfile("wp-config.php"):
- tools.cp("wp-sample-config.php","wp-config.php")
- tools.server_own(recursive=True)
-
-main(WordPress, source="%(P)s.tar.gz")
+main(source="%(P)s.tar.gz")
@@ -25,8 +25,9 @@ RDEPEND="|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )
src_unpack() { :; }
src_install() {
- insinto /var/lib/webapps/${PN}
- doins "${FILESDIR}"/${P}.py
insinto /var/lib/webapps/${PN}/sources
doins "${DISTDIR}"/${P}.tar.gz
+ insinto /var/lib/webapps/${PN}
+ insopts -m0755
+ doins "${FILESDIR}"/${P}.py
}

0 comments on commit 0bbed69

Please sign in to comment.