#!/bin/sh # To add this repository please do: if [ "$(whoami)" != "root" ]; then SUDO=sudo fi ${SUDO} apt-get update ${SUDO} apt-get -y install apt-transport-https lsb-release ca-certificates curl ${SUDO} curl -sSLo /usr/share/keyrings/deb.sury.org-softhsm2.gpg https://packages.sury.org/softhsm2/apt.gpg ${SUDO} sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-softhsm2.gpg] https://packages.sury.org/softhsm2/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/softhsm2.list' ${SUDO} apt-get update