diff --git a/scripts/install-packages.sh b/scripts/install-packages.sh index 6242891..b4ba10c 100755 --- a/scripts/install-packages.sh +++ b/scripts/install-packages.sh @@ -57,10 +57,10 @@ fetch_or_update_package() { else if [[ -z "${option_no_update}" ]]; then echo $(info 'Updating package:') $(highlight "${package}") + "${script_dir}"/update-package.sh "${package_dir}" "${branch}" else echo $(info 'Found package:') $(highlight "${package}") fi - "${script_dir}"/update-package.sh "${package_dir}" "${branch}" fi }