Skip to content

Commit abcbb02

Browse files
committed
fix: sh install
1 parent 45108da commit abcbb02

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set -euo pipefail
77

88
INSTALL_DIR="${HOME}/.local/bin"
99
SCRIPT_NAME="aassh"
10-
SOURCE_URL="https://raw.githubusercontent.com/C0dWiz/aassh/main/aassh.py"
10+
SOURCE_URL="https://raw.githubusercontent.com/C0dwiz/aassh/refs/heads/dev/aassh.py"
1111
PYTHON_DEPS="pyyaml rich"
1212
MIN_PYTHON_VERSION="3.7"
1313

@@ -66,15 +66,15 @@ install_python_deps() {
6666
info "Installing Python dependencies ($PYTHON_DEPS)..."
6767

6868
# Try different installation methods
69-
if pip3 install --user $PYTHON_DEPS; then
69+
if pip3 install --user $PYTHON_DEPS --break-system-packages; then
7070
success "Dependencies installed successfully"
7171
else
7272
warn "Standard pip install failed. Trying with --break-system-packages..."
73-
if pip3 install --user --break-system-packages $PYTHON_DEPS; then
73+
if pip3 install $PYTHON_DEPS --break-system-packages; then
7474
success "Dependencies installed with --break-system-packages"
7575
else
7676
warn "Failed to install with --break-system-packages. Trying system-wide install..."
77-
if pip3 install $PYTHON_DEPS; then
77+
if pip3 install $PYTHON_DEPS --break-system-packages; then
7878
success "Dependencies installed system-wide"
7979
else
8080
error "Failed to install Python dependencies. Please install manually: pip3 install $PYTHON_DEPS"

0 commit comments

Comments
 (0)