Files
hp-devkit/docker/code-templates/nodejs/upgrader-contract/dist/post_exec.sh
2024-03-15 17:16:24 +05:30

15 lines
324 B
Bash
Executable File

#!/bin/bash
# Install unzip, jq if not installed, because it's required for the upgrader.
if ! command -v unzip &>/dev/null; then
echo "Installing unzip"
apt-get update
apt-get install -y unzip
fi
if ! command -v jq &>/dev/null; then
echo "Installing unzip"
apt-get update
apt-get install -y jq
fi