From 337c826e0650e70428575d91f5dde83996e0fea6 Mon Sep 17 00:00:00 2001 Message-Id: <337c826e0650e70428575d91f5dde83996e0fea6.1409839080.git.hahn@univention.de> From: Philipp Hahn Date: Thu, 4 Sep 2014 15:55:36 +0200 Subject: [PATCH] Bug #3____ Samba: Fix missing python module Organization: Univention GmbH, Bremen, Germany --- .../ucs-4.0-0/services/univention-samba/debian/control | 1 + .../ucs-4.0/ucs-4.0-0/services/univention-samba/debian/rules | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/control b/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/control index a0efd17..1b48100 100644 --- a/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/control +++ b/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/control @@ -6,6 +6,7 @@ Build-Depends: debhelper (>> 7), univention-config-dev, ucslint-univention Standards-Version: 3.5.2 +XS-Python-Version: 2.6, 2.7 Package: univention-samba Architecture: all diff --git a/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/rules b/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/rules index 7f17ca5..fb3546f 100755 --- a/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/rules +++ b/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/rules @@ -30,22 +30,25 @@ # /usr/share/common-licenses/AGPL-3; if not, see # . -override_dh_auto_install: +override_dh_pysupport: + dh_pysupport +ifneq (,$(findstring univention-samba-local-config, $(shell dh_listpackages))) + echo update-python-modules --post-install >> debian/univention-samba-local-config.postinst.debhelper +endif univention-install-config-registry - dh_auto_install override_dh_fixperms: + dh_fixperms chmod 755 debian/univention-samba/usr/share/univention-samba/kerberize_user chmod 755 debian/univention-samba/usr/lib/univention-directory-listener/system/samba-shares.py chmod 755 debian/univention-samba/usr/share/univention-samba/remove-samba-account chmod 755 debian/univention-samba/usr/share/univention-samba/slave-sync chmod 755 debian/univention-samba/usr/lib/univention-directory-listener/system/samba-privileges.py chmod 755 debian/univention-samba/usr/share/univention-samba/addmachine.sh - dh_fixperms override_dh_auto_test: ucslint dh_auto_test %: - dh $@ + dh $@ --with python_support -- 1.9.1