fix: replace bash <(curl) with curl | bash in all install instructions

Process substitution <(...) fails with sudo and on systems without /dev/fd.
Pipe syntax works universally on all Linux/macOS systems.

Also changed curl -s to curl -fsSL for proper error handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-02-21 13:27:52 +00:00
parent d8768103e0
commit 40188adf54
9 changed files with 18 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# UClaude — one-line installer with full auto-install chain
# Usage: bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
# Usage: curl -fsSL https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh | bash
set -e
REPO_URL="https://git.sensey24.ru/aibot777/unlimitedcoding.git"
@@ -30,7 +30,7 @@ install_pkg() {
need_sudo() {
if [ "$(id -u)" -ne 0 ]; then
echo " Root privileges required to install packages."
echo " Re-run: sudo bash <(curl -s $REPO_URL/raw/branch/master/claude/uclaude_install.sh)"
echo " Re-run: curl -fsSL $REPO_URL/raw/branch/master/claude/uclaude_install.sh | sudo bash"
exit 1
fi
}