-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Milestone
Description
When executing make
on REHL the script ./ci/scripts/install_softhsm.sh
fails.
The reason is that it uses apt-get
which is only relevant for debian.
Suggested fix:
#!/usr/bin/env bash
set -euo pipefail
# Install SoftHSM2 based on OS
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "Detected macOS"
brew install softhsm
elif [[ -f /etc/redhat-release ]]; then
echo "Detected RHEL-based system"
sudo dnf install -y softhsm
elif [[ -f /etc/debian_version ]]; then
echo "Detected Debian-based system"
sudo apt-get update
sudo apt-get install -y softhsm2
else
echo "Unsupported OS: $OSTYPE"
exit 1
fi
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file