diff --git a/install.sh b/install.sh index f0673e1..0fe5208 100755 --- a/install.sh +++ b/install.sh @@ -106,7 +106,7 @@ if [ "${1:-}" = "-update" ]; then sudo_if chmod +x app fi - # Fix ownership of any new files. + # Fix ownership of all files (build cache may be root-owned from earlier builds). sudo_if chown -R "${APP_USER:-${SUDO_USER:-$(whoami)}}:${APP_USER:-${SUDO_USER:-$(whoami)}}" "$INSTALL_DIR" 2>/dev/null || true info "Restarting service..."