[Python-modules-team] [python-django] 01/01: Use dpkg-maintscript-helper's dir_to_symlink to correctly replace the app_template and project_template symlinks added in 1.9~rc2-2. (Closes: #807683)
Raphael Hertzog
hertzog at debian.org
Mon Dec 14 08:16:03 UTC 2015
Hi,
On Sat, 12 Dec 2015, Chris Lamb wrote:
> --- /dev/null
> +++ b/debian/python-django.postinst
> @@ -0,0 +1,11 @@
> +#!/bin/sh
> +
> +#DEBHELPER#
> +
> +for X in app_template project_template
> +do
> + dpkg-maintscript-helper dir_to_symlink \
> + /usr/lib/python2.7/dist-packages/django/conf/${X} \
> + /usr/share/python-django-common/django/conf/${X} \
> + 1.9-2~ python-django -- "$@"
> +done
Please use debian/python-django.maintscript instead of creating all those
maintainer scripts by hand (cf man dh_installdeb).
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/
More information about the Python-modules-team
mailing list