Update build.func
This commit is contained in:
parent
87143ae90f
commit
3684c3d3b2
@ -4,12 +4,6 @@
|
|||||||
# Co-Author: michelroegl-brunner
|
# Co-Author: michelroegl-brunner
|
||||||
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
|
||||||
|
|
||||||
set -Eeuo pipefail
|
|
||||||
|
|
||||||
trap '__handle_general_error "${BASH_SOURCE[0]}:${LINENO}"' ERR
|
|
||||||
trap '__handle_signal_exit' SIGINT SIGTERM
|
|
||||||
trap '__handle_exit' EXIT
|
|
||||||
|
|
||||||
variables() {
|
variables() {
|
||||||
NSAPP=$(echo "${APP,,}" | tr -d ' ') # This function sets the NSAPP variable by converting the value of the APP variable to lowercase and removing any spaces.
|
NSAPP=$(echo "${APP,,}" | tr -d ' ') # This function sets the NSAPP variable by converting the value of the APP variable to lowercase and removing any spaces.
|
||||||
var_install="${NSAPP}-install" # sets the var_install variable by appending "-install" to the value of NSAPP.
|
var_install="${NSAPP}-install" # sets the var_install variable by appending "-install" to the value of NSAPP.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user