Add cloudron-translation-update script

This commit is contained in:
Johannes Zellner
2020-11-18 22:03:57 +01:00
parent cbc5ec7d89
commit b64acb412e
3 changed files with 38 additions and 0 deletions

View File

@@ -71,6 +71,12 @@ if ! which ipset; then
apt install -y ipset
fi
# Only used for the cloudron-translation-update script
if ! which unzip; then
echo "==> installer: installing unzip"
apt install -y unzip
fi
echo "==> installer: updating node"
if [[ "$(node --version)" != "v10.18.1" ]]; then
mkdir -p /usr/local/node-10.18.1