From cc834519ff552e22892afb3c60e5340ebf943019 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Thu, 4 Dec 2025 23:01:22 +0100 Subject: [PATCH] Fix path to easy-rsa tarball in checksum verification --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 592f7d1..9170b7e 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -760,7 +760,7 @@ function installOpenVPN() { # Install the latest version of easy-rsa from source, if not already installed. if [[ ! -d /etc/openvpn/easy-rsa/ ]]; then wget -O ~/easy-rsa.tgz "https://github.com/OpenVPN/easy-rsa/releases/download/v${EASYRSA_VERSION}/EasyRSA-${EASYRSA_VERSION}.tgz" - if ! echo "${EASYRSA_SHA256} ~/easy-rsa.tgz" | sha256sum -c; then + if ! echo "${EASYRSA_SHA256} $HOME/easy-rsa.tgz" | sha256sum -c; then echo "SHA256 checksum verification failed for easy-rsa download!" rm -f ~/easy-rsa.tgz exit 1