File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Wrapper script - downloads and executes install
2+ # Wrapper script - downloads and executes install.sh
33# Supports multiple URL patterns:
44# curl -fsSL https://clix.sh/install | bash
5+ # curl -fsSL https://clix.sh/install | bash -s v1.0.0
56#
6- # Environment variables are passed through to install:
7+ # Arguments are passed through to install.sh (e.g., version)
8+ # Environment variables are also passed through:
79# CLIX_VERSION, CLIX_INSTALL_DIR, CLIX_NO_MODIFY_PATH, CLIX_SKIP_CHECKSUM
810
911export CLIX_VERSION=" ${CLIX_VERSION:- } "
1012export CLIX_INSTALL_DIR=" ${CLIX_INSTALL_DIR:- } "
1113export CLIX_NO_MODIFY_PATH=" ${CLIX_NO_MODIFY_PATH:- } "
1214export CLIX_SKIP_CHECKSUM=" ${CLIX_SKIP_CHECKSUM:- } "
1315
14- bash -c " $( curl -fsSL https://clix.sh/install.sh) "
16+ # Download install.sh and execute with all arguments passed through
17+ bash <( curl -fsSL https://clix.sh/install.sh) " $@ "
You can’t perform that action at this time.
0 commit comments