Install python files into the correct path.

Signed-off-by: Wido den Hollander <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/465b3e9d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/465b3e9d
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/465b3e9d

Branch: refs/heads/master
Commit: 465b3e9d1aa8506327effd4b9103bca929f4af32
Parents: 71b42e2
Author: Felix Geyer <[email protected]>
Authored: Mon Feb 16 14:20:20 2015 +0100
Committer: Wido den Hollander <[email protected]>
Committed: Thu Mar 5 14:39:54 2015 +0100

----------------------------------------------------------------------
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/465b3e9d/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index 0501c80..5c61029 100755
--- a/debian/rules
+++ b/debian/rules
@@ -114,8 +114,8 @@ override_dh_auto_install:
        install -D agent/target/dependencies/jasypt-1.9.2.jar 
$(DESTDIR)/usr/share/$(PACKAGE)-common/lib
 
        # cloudstack-python
-       mkdir -p $(DESTDIR)/usr/lib/python2.7/dist-packages
-       cp -r python/lib/cloud* $(DESTDIR)/usr/lib/python2.7/dist-packages
+       mkdir -p $(DESTDIR)/usr/share/pyshared
+       cp -r python/lib/cloud* $(DESTDIR)/usr/share/pyshared
 
        # cloudstack-usage
        mkdir $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/usage

Reply via email to