From: Kevin Day Date: Fri, 6 Jan 2023 03:39:37 +0000 (-0600) Subject: Bugfix: Install script still install static program sources despite being disabled. X-Git-Tag: 0.6.3~43 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=e5a869327d41446d6e5965e014ef5cbefed6593c;p=fll Bugfix: Install script still install static program sources despite being disabled. The if condition nested is only wrapping the print block. Move the conditional logic to the proper wrapping block. --- diff --git a/build/scripts/install.sh b/build/scripts/install.sh index a572807..37c5ca7 100644 --- a/build/scripts/install.sh +++ b/build/scripts/install.sh @@ -659,12 +659,10 @@ install_perform_install() { file= fi - if [[ $file != "" ]] ; then - if [[ $enable_static_programs == "yes" ]] ; then - if [[ $verbosity != "quiet" ]] ; then - echo - echo -e "${c_highlight}Installing (${c_notice}static${c_highlight}) Programs to: ${c_reset}${c_notice}${destination_programs_static}${c_reset}${c_highlight}.${c_reset}" - fi + if [[ $file != "" && $enable_static_programs == "yes" ]] ; then + if [[ $verbosity != "quiet" ]] ; then + echo + echo -e "${c_highlight}Installing (${c_notice}static${c_highlight}) Programs to: ${c_reset}${c_notice}${destination_programs_static}${c_reset}${c_highlight}.${c_reset}" fi cp $verbose_common -R ${path_build}${path_programs}${path_static}* $destination_programs_static