mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 23:47:14 -08:00
net-analyzer/graphite-web-1.1.8-r2: fix python pre-compiled files
Closes: https://bugs.gentoo.org/808863 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
+5
-2
@@ -67,8 +67,11 @@ python_install() {
|
||||
distutils-r1_python_install \
|
||||
--install-data="${EPREFIX}"/usr/share/${PN}
|
||||
|
||||
insinto /etc/${PN}
|
||||
newins webapp/graphite/local_settings.py.example local_settings.py
|
||||
# copy the file once, to keep the timestamps correct, #808863
|
||||
if [[ ! -e ${ED}/etc/${PN}/local_settings.py ]] ; then
|
||||
insinto /etc/${PN}
|
||||
newins webapp/graphite/local_settings.py.example local_settings.py
|
||||
fi
|
||||
pushd "${D}/$(python_get_sitedir)"/graphite > /dev/null || die
|
||||
ln -s ../../../../../etc/${PN}/local_settings.py local_settings.py || die
|
||||
popd > /dev/null || die
|
||||
Reference in New Issue
Block a user