--- silvercity-0.9.5.ebuild 2005-05-22 16:23:23.443635128 +0200 +++ silvercity-0.9.5-r1.ebuild 2005-05-22 16:52:50.122059184 +0200 @@ -18,3 +18,13 @@ RESTRICT="nomirror" DEPEND=">=dev-lang/python-2.3" + +src_install() { + distutils_src_install + chmod -R a-w ${D} # fix permissions + # fix CR/LF issue + find ${D}/usr/bin -iname "*.py" -exec sed -e '1s/\r$//' -i \{\} \; + # fix path + sed -e '1s|#!/usr/home/sweetapp/bin/python|#!/usr/bin/env python|' \ + -i ${D}/usr/bin/cgi-styler-form.py +}