mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-21 23:00:17 +00:00
refactor: improve code style
Improve the code style of some pieces of code
This commit is contained in:
parent
9a7b7dfe72
commit
dda4d99f10
9 changed files with 54 additions and 128 deletions
|
@ -358,13 +358,11 @@ removeAll() {
|
|||
${SUDO} unlink /usr/local/bin/pivpn
|
||||
|
||||
${SUDO} ln \
|
||||
-s \
|
||||
-T "${pivpnFilesDir}/scripts/${othervpn}/pivpn.sh" \
|
||||
-sT "${pivpnFilesDir}/scripts/${othervpn}/pivpn.sh" \
|
||||
/usr/local/bin/pivpn
|
||||
|
||||
${SUDO} ln \
|
||||
-s \
|
||||
-T "${pivpnFilesDir}/scripts/${othervpn}/bash-completion" \
|
||||
-sT "${pivpnFilesDir}/scripts/${othervpn}/bash-completion" \
|
||||
/etc/bash_completion.d/pivpn
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue