mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-30 04:24:43 +00:00
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
+1
-3
@@ -43,9 +43,7 @@ function update_script() {
|
||||
msg_error "Project directory does not exist: $PROJECT_DIR"
|
||||
exit
|
||||
fi
|
||||
if ! command -v git &>/dev/null; then
|
||||
$STD apt install -y git
|
||||
fi
|
||||
ensure_dependencies git
|
||||
|
||||
msg_info "Stopping service $SERVICE_NAME"
|
||||
systemctl stop "$SERVICE_NAME"
|
||||
|
||||
Reference in New Issue
Block a user