From 61be14026142d28240b99645789df100ecb3de41 Mon Sep 17 00:00:00 2001 From: randomshell <43271778+randomshell@users.noreply.github.com> Date: Mon, 30 Mar 2020 12:32:16 +0000 Subject: [PATCH] Add `/usr/sbin` to Debian `$PATH` Fix #523 #593 --- openvpn-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index d152fb6..50b7ac7 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -35,6 +35,8 @@ function checkOS () { exit 1 fi fi + # Fix $PATH on Debian + PATH=${PATH}:/usr/sbin elif [[ "$ID" == "ubuntu" ]];then OS="ubuntu" if [[ ! $VERSION_ID =~ (16.04|18.04|19.04) ]]; then