#!/bin/sh set -euxo app="$1" url="$2" cd /usr/src/nextcloud curl -L "$url" | tar -xz -C "apps" ./occ app:enable "$app"