summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 38b8b4d)
raw | patch | inline | side by side (parent: 38b8b4d)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 05:21:28 +0000 (05:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 1 Mar 2006 05:21:28 +0000 (05:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2784 594d385d-05f5-0310-b6e9-bd551577e9d8
debian/gosa.postinst | patch | blob | history |
diff --git a/debian/gosa.postinst b/debian/gosa.postinst
index d00dcc204d0539154ab90eb500da029b03ee6a81..8ca80a44c052129e1d6659facd99deb71adea476 100755 (executable)
--- a/debian/gosa.postinst
+++ b/debian/gosa.postinst
# Add links for safe mode
for link in /usr/bin/convert /usr/bin/lpstat; do
- [ -L $link ] || ln -sf $link /usr/share/gosa/bin/${link##*/}
+ target=/usr/share/gosa/bin/${link##*/}
+ [ -L $target ] && continue
+ [ -f $link ] || ln -sf $link $target
done
# Finally restart servers