[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:44:30 UTC 2011
The following commit has been merged in the master branch:
commit 9cb79b873577f798acb333b9bd658afe1e38a0b9
Author: David Paleino <dapal at debian.org>
Date: Sun Apr 10 10:47:11 2011 +0200
Don't force symlinks
diff --git a/debian/extra/update-bash-completion b/debian/extra/update-bash-completion
index 3bf528d..b0b2081 100755
--- a/debian/extra/update-bash-completion
+++ b/debian/extra/update-bash-completion
@@ -22,6 +22,6 @@ fi
echo -n "bash-completion: updating completions... "
for c in $($GET_COMP $COMPDICT | sort -u); do
- ln -sf $COMPDIR/$c $RUNCOMPDIR/
+ [ -L "$RUNCOMPDIR/${c##*/}" ] || ln -s $COMPDIR/$c $RUNCOMPDIR/
done
echo "done."
--
debian-package
More information about the Bash-completion-commits
mailing list