[pycsw] 18/20: Fix path
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Tue Sep 30 19:16:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository pycsw.
commit f75d79947c107fb606f7d976a0333ad44c39ef75
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Mon Sep 29 22:01:11 2014 +0200
Fix path
---
debian/pycsw-cgi.install | 5 ++---
debian/pycsw-cgi.postinst | 7 +------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/debian/pycsw-cgi.install b/debian/pycsw-cgi.install
index 75d56ca..5cb409b 100644
--- a/debian/pycsw-cgi.install
+++ b/debian/pycsw-cgi.install
@@ -2,11 +2,10 @@ etc/harvest-all.cron /etc/pycsw
etc/mappings.py /etc/pycsw
bin/* /usr/share/pycsw/bin/
tests/* /usr/share/pycsw/tests/
-etc/pycsw.conf /etc/apache2/conf-available/
-etc/pycsw.desktop /usr/share/applications/
+etc/pycsw.conf /etc/apache2/sites-available/
csw.py /usr/share/pycsw/
LICENSE.txt /usr/share/pycsw/
README.txt /usr/share/pycsw/
VERSION.txt /usr/share/pycsw/
HISTORY.txt /usr/share/pycsw/
-default-sample.cfg /usr/share/pycsw/
+default-sample.cfg /etc/pycsw/
diff --git a/debian/pycsw-cgi.postinst b/debian/pycsw-cgi.postinst
index a916735..41a8106 100644
--- a/debian/pycsw-cgi.postinst
+++ b/debian/pycsw-cgi.postinst
@@ -18,13 +18,8 @@ set -e
# the debian-policy package
install() {
- cd /usr/pycsw/tests
- python ./gen_html.py > index.html
- cd /var/www/html/pycsw
- cp default-sample.cfg default.cfg
a2enmod cgi
- /etc/init.d/apache2 restart
-
+ a2ensite pycsw
}
case "$1" in
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pycsw.git
More information about the Pkg-grass-devel
mailing list