Code

Added directory creation to fix problems with link installation
[gosa.git] / debian / gosa.postinst
index b9c18e66bce011b10e3f8a4417be3c30010b3956..f320e7ebbf1cd8a55ae32870ddb4927bcf12c7fb 100755 (executable)
@@ -39,6 +39,7 @@ chown root.$WEBGROUP -R /var/spool/gosa
 chmod 770 -R /var/spool/gosa
 
 # Add links for safe mode
+[ ! -d /usr/share/gosa/bin ] && mkdir -p /usr/share/gosa/bin
 for source in /usr/bin/convert /usr/bin/lpstat; do
        if [ -e $source ]; then
                target=/usr/share/gosa/bin/${source##*/}