The following commit has been merged in the master branch:
commit ff265ed9499b73329194d6f1f396a72ef30a0379
Author: David Paleino <[email protected]>
Date:   Mon Apr 25 14:20:49 2011 +0200

    Adapt install-completions to Debian's layout

diff --git a/debian/extra/scripts/update-bash-completion 
b/debian/extra/scripts/update-bash-completion
index 6d5d197..c20fdce 100755
--- a/debian/extra/scripts/update-bash-completion
+++ b/debian/extra/scripts/update-bash-completion
@@ -21,7 +21,7 @@ done
 
 shift $((OPTIND - 1))
 
-completion_dir=$1
+completion_dir=/usr/share/bash-completion/completions/
 if [ -z "$completion_dir" ]; then
     echo "missing completion directory"
     usage
@@ -33,7 +33,7 @@ if [ ! -d $completion_dir ]; then
     exit 1
 fi
 
-installation_dir=$2
+installation_dir=/var/lib/bash-completion/
 if [ ! -d $installation_dir ]; then
     echo "invalid directory $installation_dir"
     usage
diff --git a/debian/extra/scripts/update-bash-completion.1 
b/debian/extra/scripts/update-bash-completion.1
index 9121242..b5d1ecc 100644
--- a/debian/extra/scripts/update-bash-completion.1
+++ b/debian/extra/scripts/update-bash-completion.1
@@ -13,7 +13,8 @@ It is usually run during after the installation of any 
package installing
 executables under \fI/usr/bin\fR, \fI/usr/sbin\fR, \fI/usr/games\fR,
 \fI/bin\fR or \fI/sbin\fR, but it may also be run manually.
 .SH AUTHOR
-update-bash-completion was written by Guillaume Rousse 
<[email protected]>.
+update-bash-completion was written by Guillaume Rousse 
<[email protected]>,
+and was adapted for Debian by David Paleino <[email protected]>.
 .PP
 This manual page was written by David Paleino <[email protected]>,
 for the Debian project (and may be used by others).

-- 
debian-package

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to