summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-03-09 01:26:09 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-03-09 01:26:09 +0100
commit83cc3b9039964441828c899bee63ae41955b8ada (patch)
tree7f483b440818fca373938fa4bd8a95892e6e4676 /debian/local
parentcac0677749f273ee0055a7c7943a85398e637598 (diff)
Fix -K option into not starting existing translators.
Diffstat (limited to 'debian/local')
-rwxr-xr-xdebian/local/setup-translators2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/local/setup-translators b/debian/local/setup-translators
index 96e6bb94..348090ac 100755
--- a/debian/local/setup-translators
+++ b/debian/local/setup-translators
@@ -75,7 +75,7 @@ st () {
name=${3:-$cmdl}
echo -n " $name"
- if [ "$REPLACE" = y ] || [ ! -e $1 ]; then
+ if [ "$REPLACE" = y ] || ! showtrans $1 > /dev/null 2>&1 ; then
# Work around a bug in ext2fs, which crashes if a non-empty
# file is turned into a symlink through settrans, by clearing
# the passive translator first.