diff options
author | David Paleino <dapal@debian.org> | 2011-04-10 10:47:11 +0200 |
---|---|---|
committer | David Paleino <dapal@debian.org> | 2011-04-10 10:47:11 +0200 |
commit | 9cb79b873577f798acb333b9bd658afe1e38a0b9 (patch) | |
tree | 4aa9095475d3b8eedfdc7bbf88d10199e7447736 /debian/extra | |
parent | d6448263b88ff7f80eb15736e1a52612167eef97 (diff) | |
download | bash-completion-9cb79b873577f798acb333b9bd658afe1e38a0b9.tar.gz |
Don't force symlinks
Diffstat (limited to 'debian/extra')
-rwxr-xr-x | debian/extra/update-bash-completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/extra/update-bash-completion b/debian/extra/update-bash-completion index 3bf528dd..b0b2081c 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." |