@@ -, +, @@ --- .../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(-) --- a/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/control +++ a/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 --- a/branches/ucs-4.0/ucs-4.0-0/services/univention-samba/debian/rules +++ a/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 --