Code

Made postinstall script link aware
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Mar 2006 05:18:40 +0000 (05:18 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 1 Mar 2006 05:18:40 +0000 (05:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2783 594d385d-05f5-0310-b6e9-bd551577e9d8

debian/gosa.postinst

index 682aa471f2f1c881e5ccf95b68c6498d8733392f..d00dcc204d0539154ab90eb500da029b03ee6a81 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##*/}
+       [ -L $link ] || ln -sf $link /usr/share/gosa/bin/${link##*/}
 done
 
 # Finally restart servers