#!/bin/bash
if [ -f /usr/bin/ParseDico ];
then
    RunCmd=RunCmd
    . ParseDico
    . /etc/eole/containers.conf
    . /usr/share/eole/FonctionsEoleNg
else
    activer_etherdraw=$(CreoleGet activer_etherdraw)
    RunCmd=CreoleRun
fi

ETH_DIR="/usr/share/eole/nodejs/etherdraw"
if [ "$activer_etherdraw" == "oui" ]
then
    #Modification des droits sur eoleDeps
    $RunCmd "/bin/chmod 755 ${ETH_DIR}/eoleDeps.sh" web
fi
