Files
dev 33d7c9c46a Translate user-facing docs and node help to English
README, NODES.md, install scripts, palette help text, and example flows — node .js logic unchanged.
2026-08-22 17:36:38 +02:00

10 lines
355 B
Bash

#!/usr/bin/env bash
# Quick fix if git reports "dubious ownership" after root clone
set -euo pipefail
DIR="${1:-/home/ncdeploy/nextcloud-collabora-nodered}"
USER="${2:-ncdeploy}"
echo "chown ${USER} ${DIR}"
chown -R "${USER}:${USER}" "${DIR}"
sudo -u "${USER}" git config --global --add safe.directory "${DIR}"
echo "Done. Run: cd ${DIR} && ./install.sh"