summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 276650e)
raw | patch | inline | side by side (parent: 276650e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Mar 2006 06:36:08 +0000 (06:36 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Mar 2006 06:36:08 +0000 (06:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2909 594d385d-05f5-0310-b6e9-bd551577e9d8
debian/gosa.postinst | patch | blob | history |
diff --git a/debian/gosa.postinst b/debian/gosa.postinst
index a7dcd436dfcb1efe11e3825d19ac2e8ddd4c98db..b9c18e66bce011b10e3f8a4417be3c30010b3956 100755 (executable)
--- a/debian/gosa.postinst
+++ b/debian/gosa.postinst
chmod 770 -R /var/spool/gosa
# Add links for safe mode
-for link in /usr/bin/convert /usr/bin/lpstat; do
- [ ! -e $link ] && continue
- target=/usr/share/gosa/bin/${link##*/}
- [ -L $target ] && continue
- ln -sf $link $target
+for source in /usr/bin/convert /usr/bin/lpstat; do
+ if [ -e $source ]; then
+ target=/usr/share/gosa/bin/${source##*/}
+ [ ! -L $target ] && ln -sf $source $target
+ fi
done
# Finally restart servers