126865cf13
README, NODES.md, install scripts, palette help text, and example flows — node .js logic unchanged.
10 lines
353 B
Bash
10 lines
353 B
Bash
#!/usr/bin/env bash
|
|
# Quick fix if git reports "dubious ownership" after root clone
|
|
set -euo pipefail
|
|
DIR="${1:-/home/ncadmin/nextcloud-collabora-nodered}"
|
|
USER="${2:-ncadmin}"
|
|
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"
|