diff --git a/.github/workflows/install-script-ci.yml b/.github/workflows/install-script-ci.yml index 0abd30bb3..130254896 100644 --- a/.github/workflows/install-script-ci.yml +++ b/.github/workflows/install-script-ci.yml @@ -18,6 +18,9 @@ jobs: - name: ShellCheck uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0 + with: + scandir: '.' + additional_files: 'install.sh' smoke-test: needs: lint diff --git a/install.sh b/install.sh index 477e6989f..78c06e841 100755 --- a/install.sh +++ b/install.sh @@ -32,7 +32,7 @@ for name in ollama-server llama-stack; do ids=$($ENGINE ps -aq --filter "name=^${name}$") if [ -n "$ids" ]; then log "⚠️ Found existing container(s) for '${name}', removing..." - $ENGINE rm -f $ids + $ENGINE rm -f "$ids" fi done