Code

Fixed problem during installation
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jan 2006 12:13:53 +0000 (12:13 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jan 2006 12:13:53 +0000 (12:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2415 594d385d-05f5-0310-b6e9-bd551577e9d8

debian/gosa.postinst

index 0eea2fe5d323dafd42ca73c6a9aca639b9c525a0..682aa471f2f1c881e5ccf95b68c6498d8733392f 100755 (executable)
@@ -40,7 +40,7 @@ chmod 770 -R /var/spool/gosa
 
 # Add links for safe mode
 for link in /usr/bin/convert /usr/bin/lpstat; do
-       [ -f $link ] && ln -sf $link /usr/share/gosa/bin/${link##*/}
+       [ -f $link ] || ln -sf $link /usr/share/gosa/bin/${link##*/}
 done
 
 # Finally restart servers