[Bash-completion-commits] [SCM] debian-package branch, master, updated. debian/1.3-1-32-g653f34e

David Paleino dapal at debian.org
Tue Apr 12 10:45:14 UTC 2011


The following commit has been merged in the master branch:
commit e98689374f13e6367dbc139ebf0f62271b5bc320
Author: David Paleino <dapal at debian.org>
Date:   Tue Apr 12 10:03:18 2011 +0200

    Improve postinst

diff --git a/debian/postinst b/debian/postinst
index 433d43c..8c97c61 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -8,12 +8,15 @@ case "$1" in
         for f in $(find /etc/bash_completion.d/ -type f -name "*.dpkg-*"); do
             dpkg-maintscript-helper rm_conffile ${f%.dpkg-*} 1:1.3-1 -- "$@"
         done
+		if [ -x /usr/sbin/update-bash-completion ]; then
+			update-bash-completion
+		fi
 	;;
     abort-upgrade|abort-remove|abort-deconfigure)
 	;;
 	triggered)
 		if [ -x /usr/sbin/update-bash-completion ]; then
-			/usr/sbin/update-bash-completion
+			update-bash-completion
 		fi
 	;;
     *)

-- 
debian-package



More information about the Bash-completion-commits mailing list