mirror of
https://github.com/pivpn/pivpn.git
synced 2025-05-14 03:44:11 +02:00
fix(installer): fix some code style errors
Fix some code style error about the pipelines
This commit is contained in:
parent
699f72712d
commit
e09f3a04bd
14 changed files with 316 additions and 309 deletions
|
@ -20,8 +20,8 @@ setupConfigDir="/etc/pivpn"
|
|||
|
||||
CHECK_PKG_INSTALLED='dpkg-query -s'
|
||||
|
||||
if [[ -r "${setupConfigDir}/wireguard/${setupVarsFile}" ]] &&
|
||||
[[ -r "${setupConfigDir}/openvpn/${setupVarsFile}" ]]; then
|
||||
if [[ -r "${setupConfigDir}/wireguard/${setupVarsFile}" ]] \
|
||||
&& [[ -r "${setupConfigDir}/openvpn/${setupVarsFile}" ]]; then
|
||||
# Two protocols have been installed, check if the script has passed
|
||||
# an argument, otherwise ask the user which one he wants to remove
|
||||
if [[ "$#" -ge 1 ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue