[Bash-completion-commits] [SCM] debian-package branch, master, updated. debian/1.3-2-4-g5f5fdf2
David Paleino
dapal at debian.org
Mon Apr 25 12:26:32 UTC 2011
The following commit has been merged in the master branch:
commit ff265ed9499b73329194d6f1f396a72ef30a0379
Author: David Paleino <dapal at debian.org>
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 <Guillaume.Rousse at inria.fr>.
+update-bash-completion was written by Guillaume Rousse <Guillaume.Rousse at inria.fr>,
+and was adapted for Debian by David Paleino <dapal at debian.org>.
.PP
This manual page was written by David Paleino <dapal at debian.org>,
for the Debian project (and may be used by others).
--
debian-package
More information about the Bash-completion-commits
mailing list