various scripts: use ensure_dependencies instead of apt (#11463)
* refactor(ct): replace apt install with ensure_dependencies in update_script functions * refactor(ct): replace remaining apt install with ensure_dependencies * refactor(ct): replace remaining apt install with ensure_dependencies * refactor(ct): remove redundant dpkg checks before ensure_dependencies * refactor(ct): remove ALL redundant checks before ensure_dependencies * Update neo4j.sh
This commit is contained in:
committed by
GitHub
parent
ac74b760f0
commit
7fc77fe5be
@@ -36,12 +36,7 @@ function update_script() {
|
||||
NODE_VERSION="24" setup_nodejs
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "scanopy" "scanopy/scanopy" "tarball" "latest" "/opt/scanopy"
|
||||
|
||||
if ! dpkg -l | grep -q "pkg-config"; then
|
||||
$STD apt install -y pkg-config
|
||||
fi
|
||||
if ! dpkg -l | grep -q "libssl-dev"; then
|
||||
$STD apt install -y libssl-dev
|
||||
fi
|
||||
ensure_dependencies pkg-config libssl-dev
|
||||
TOOLCHAIN="$(grep "channel" /opt/scanopy/backend/rust-toolchain.toml | awk -F\" '{print $2}')"
|
||||
RUST_TOOLCHAIN=$TOOLCHAIN setup_rust
|
||||
|
||||
|
||||
Reference in New Issue
Block a user