diff --git a/scripts/install b/scripts/install deleted file mode 120000 index 61e71e2..0000000 --- a/scripts/install +++ /dev/null @@ -1 +0,0 @@ -install.sh \ No newline at end of file diff --git a/scripts/install b/scripts/install new file mode 100755 index 0000000..b948a44 --- /dev/null +++ b/scripts/install @@ -0,0 +1,16 @@ +#!/bin/bash +# Wrapper script - downloads and executes install.sh +# Supports multiple URL patterns: +# curl -fsSL https://clix.sh/install | bash +# curl -fsSL https://clix.sh/install.sh | bash +# curl -fsSL https://cli.clix.so/install | bash +# curl -fsSL https://cli.clix.so/install.sh | bash +# +# Environment variables are passed through to install.sh: +# CLIX_VERSION, CLIX_INSTALL_DIR, CLIX_NO_MODIFY_PATH, CLIX_SKIP_CHECKSUM + +CLIX_VERSION="${CLIX_VERSION:-}" \ +CLIX_INSTALL_DIR="${CLIX_INSTALL_DIR:-}" \ +CLIX_NO_MODIFY_PATH="${CLIX_NO_MODIFY_PATH:-}" \ +CLIX_SKIP_CHECKSUM="${CLIX_SKIP_CHECKSUM:-}" \ + bash -c "$(curl -fsSL https://clix.sh/install.sh)" diff --git a/scripts/uninstall b/scripts/uninstall deleted file mode 120000 index 46d57c1..0000000 --- a/scripts/uninstall +++ /dev/null @@ -1 +0,0 @@ -uninstall.sh \ No newline at end of file diff --git a/scripts/uninstall b/scripts/uninstall new file mode 100755 index 0000000..59075d0 --- /dev/null +++ b/scripts/uninstall @@ -0,0 +1,13 @@ +#!/bin/bash +# Wrapper script - downloads and executes uninstall.sh +# Supports multiple URL patterns: +# curl -fsSL https://clix.sh/uninstall | bash +# curl -fsSL https://clix.sh/uninstall.sh | bash +# curl -fsSL https://cli.clix.so/uninstall | bash +# curl -fsSL https://cli.clix.so/uninstall.sh | bash +# +# Environment variables are passed through to uninstall.sh: +# CLIX_INSTALL_DIR + +CLIX_INSTALL_DIR="${CLIX_INSTALL_DIR:-}" \ + bash -c "$(curl -fsSL https://clix.sh/uninstall.sh)"