#!/bin/sh
if command -v nodejs > /dev/null; then NODEJS=nodejs; else NODEJS=node; fi
cd /opt/open-xchange/appsuite
rm -rf apps/io.ox/dynamic-theme/apps
$NODEJS /opt/open-xchange/dynamic-theme/lib/update-dynamic-theme.js "$@"
