The setup for the vv-init.sh script is missing a shebang, which probably should be #!/usr/bin/env bash. Also it is adding multiple empty lines, which could be avoided by checking if the variable is empty as "" seems to be the default for all of them:
[ -z "${VAR}" ] || echo " $maybe_remove_defaults"
If there is the need to account for other defaults than ""/ empty, please see this ServerFault answer.
The setup for the
vv-init.sh
script is missing a shebang, which probably should be#!/usr/bin/env bash
. Also it is adding multiple empty lines, which could be avoided by checking if the variable is empty as""
seems to be the default for all of them:If there is the need to account for other defaults than
""
/ empty, please see this ServerFault answer.