python: Don't install anything directly under /usr/share

Signed-off-by: Guillaume Rousse <Guillaume.Rousse@inria.fr>
This commit is contained in:
Keir Fraser committed 2010-02-22 18:47:22 +00:00
1 parent 9a6ad742e6
commit 79e0b9479d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -63,8 +63,8 @@ install: install-messages install-dtd
$(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" --force
install-dtd: all
$(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)
$(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)
$(INSTALL_DIR) $(DESTDIR)$(SHAREDIR)/xen
$(INSTALL_DATA) xen/xm/create.dtd $(DESTDIR)$(SHAREDIR)/xen
install-messages: all
set -e; if which $(MSGFMT) >/dev/null ; then \
+1 -1
View File
@@ -78,7 +78,7 @@ class xenapi_create:
def __init__(self):
self.DEFAULT_STORAGE_REPOSITORY = get_default_SR()
self.dtd = join(SHAREDIR, "create.dtd")
self.dtd = join(SHAREDIR, "xen", "create.dtd")
def create(self, filename=None, document=None, skipdtd=False):
"""
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.