# INSTALL
case "$ACTION" in
pre)
    # Actions to execute before the package files are unpacked.
    echo
    ;;
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
