# Create wrapper script to disable upstream update paths
# Create wrapper script to disable upstream update paths, and to suppress the
# native-install health check. Claude Code expects the native installer layout
# (~/.local/bin/claude); since we install to /opt + /usr/bin it would otherwise
# warn on every startup: "claude command at ~/.local/bin/claude missing or broken".
install -dm755 "${pkgdir}/usr/bin"
cat > "${pkgdir}/usr/bin/claude"<< 'EOF'
#!/bin/sh
export DISABLE_UPDATES=1
export DISABLE_INSTALLATION_CHECKS=1
exec /opt/claude-code/bin/claude "$@"
EOF
chmod 755"${pkgdir}/usr/bin/claude"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.