# INSTALL
case "$ACTION" in
post)
    if [ "$UPDATE" = "yes" ]; then
        # actions to execute if package is being updated.
        echo
    else
        # actions to execute if package is being installed.
        mkdir -p var/log/orientdb
        chown -R orientdb var/lib/orientdb etc/orientdb var/log/orientdb usr/lib/orientdb/bin
    fi
    ;;
esac
