[pycsw] 05/20: Install to DFHS compatible locations
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Tue Sep 30 19:16:26 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 457bcb54b96ab5708a5aa0a69d0472f92ef6c3ae
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Mon Sep 29 15:47:43 2014 +0200
Install to DFHS compatible locations
fix postinst
---
debian/pycsw-cgi.install | 24 ++++++++++++------------
debian/pycsw-cgi.postinst | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/debian/pycsw-cgi.install b/debian/pycsw-cgi.install
index 8b884e5..580b061 100644
--- a/debian/pycsw-cgi.install
+++ b/debian/pycsw-cgi.install
@@ -1,13 +1,13 @@
-docs/* /var/www/html/pycsw/docs/
-etc/harvest-all.cron /var/www/html/pycsw/etc/
-etc/mappings.py /var/www/html/pycsw/etc/
-bin/* /var/www/html/pycsw/bin/
-tests/* /var/www/html/pycsw/tests/
-etc/pycsw.conf /etc/apache2/conf-enabled/
+docs/* /usr/share/pycsw/docs/
+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/
-csw.py /var/www/html/pycsw/
-LICENSE.txt /var/www/html/pycsw/
-README.txt /var/www/html/pycsw/
-VERSION.txt /var/www/html/pycsw/
-HISTORY.txt /var/www/html/pycsw/
-default-sample.cfg /var/www/html/pycsw/
+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/
diff --git a/debian/pycsw-cgi.postinst b/debian/pycsw-cgi.postinst
index b689580..a916735 100644
--- a/debian/pycsw-cgi.postinst
+++ b/debian/pycsw-cgi.postinst
@@ -18,7 +18,7 @@ set -e
# the debian-policy package
install() {
- cd /var/www/html/pycsw/tests
+ cd /usr/pycsw/tests
python ./gen_html.py > index.html
cd /var/www/html/pycsw
cp default-sample.cfg default.cfg
--
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