Changed variable name, corrected rm typo

This commit is contained in:
Orazio 2020-01-21 15:54:20 +01:00
parent 44feb0b853
commit 4a49787b28
4 changed files with 12 additions and 12 deletions

View file

@ -151,7 +151,7 @@ removeAll(){
elif [ "${i}" = "openvpn" ]; then
if [ "$PLAT" = "Debian" ] || [ "$PLAT" = "Ubuntu" ]; then
rm -r /etc/apt/sources.list.d/pivpn-openvpn-repo.list
rm -f /etc/apt/sources.list.d/pivpn-openvpn-repo.list
$PKG_MANAGER update &> /dev/null
fi
deluser openvpn