[arch-commits] Commit in django/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Tue Apr 3 09:08:23 EDT 2012


    Date: Tuesday, April 3, 2012 @ 09:08:22
  Author: dan
Revision: 155424

Fix bash completions FS#29227

Modified:
  django/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-03 12:37:52 UTC (rev 155423)
+++ PKGBUILD	2012-04-03 13:08:22 UTC (rev 155424)
@@ -27,7 +27,9 @@
   python2 setup.py install --root="$pkgdir" --optimize=1
 
   install -Dm644 extras/django_bash_completion \
-    "$pkgdir"/usr/share/bash-completion/completions/django
+    "$pkgdir"/usr/share/bash-completion/completions/django-admin.py
+  ln -s django-admin.py \
+    "$pkgdir"/usr/share/bash-completion/completions/manage.py
 
   find "$pkgdir"/usr/lib/python2.7/site-packages/django/ -name '*.py' | \
     xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"



More information about the arch-commits mailing list