From: Kevin Day Date: Fri, 6 Aug 2021 23:48:26 +0000 (-0500) Subject: Bugfix: Installer script is attempting to install non-existent files. X-Git-Tag: 0.5.5~19 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=d581d8c09314f4debbf4d8d2caa22f5efb07c5fb;p=fll Bugfix: Installer script is attempting to install non-existent files. --- diff --git a/build/scripts/install.sh b/build/scripts/install.sh index dffd344..714b8f5 100644 --- a/build/scripts/install.sh +++ b/build/scripts/install.sh @@ -553,7 +553,7 @@ install_perform_install() { fi fi - if [[ $enable_static_programs == "yes" && ! -d ${work}programs/static ]] ; then + if [[ $build_sources_program != "" && $enable_static_programs == "yes" && ! -d ${work}programs/static ]] ; then mkdir $verbose ${work}programs/static if [[ $? -ne 0 ]] ; then @@ -579,7 +579,7 @@ install_perform_install() { fi fi - if [[ $enable_shared_libraries == "yes" && ! -d ${work}libraries/shared ]] ; then + if [[ $build_sources_library != "" && $enable_shared_libraries == "yes" && ! -d ${work}libraries/shared ]] ; then mkdir $verbose ${work}libraries/shared if [[ $? -ne 0 ]] ; then @@ -591,7 +591,7 @@ install_perform_install() { fi fi - if [[ $enable_static_libraries == "yes" && ! -d ${work}libraries/static ]] ; then + if [[ $build_sources_library != "" && $enable_static_libraries == "yes" && ! -d ${work}libraries/static ]] ; then mkdir $verbose ${work}libraries/static if [[ $? -ne 0 ]] ; then @@ -647,7 +647,7 @@ install_perform_install() { fi fi - if [[ $failure == "" && ( $enable_shared_libraries == "yes" || $enable_static_libraries == "yes" ) ]] ; then + if [[ $failure == "" && $build_sources_library != "" && ( $enable_shared_libraries == "yes" || $enable_static_libraries == "yes" ) ]] ; then if [[ $enable_static_libraries == "yes" ]] ; then if [[ $verbosity != "quiet" ]] ; then echo @@ -665,7 +665,7 @@ install_perform_install() { fi fi - if [[ $failure == "" && $enable_shared_libraries == "yes" ]] ; then + if [[ $failure == "" && $build_sources_library != "" && $enable_shared_libraries == "yes" ]] ; then if [[ $verbosity != "quiet" ]] ; then echo echo -e "${c_highlight}Installing (shared) Libraries to: $c_reset$c_notice$destination_libraries_shared$c_reset${c_highlight}.$c_reset" @@ -701,7 +701,7 @@ install_perform_install() { fi fi - if [[ $failure == "" && $enable_shared_programs == "yes" ]] ; then + if [[ $failure == "" && $build_sources_program != "" && $enable_shared_programs == "yes" ]] ; then if [[ $verbosity != "quiet" ]] ; then echo echo -e "${c_highlight}Installing (shared) Programs to: $c_reset$c_notice$destination_programs_shared$c_reset${c_highlight}.$c_reset"