Skip to content

Commit cea2fc5

Browse files
viraniacigorpecovnik
authored andcommitted
Lets not spam users with error message on fresh checkout
1 parent 7b42317 commit cea2fc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/functions/general/extensions.sh

+2
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,8 @@ function enable_extension() {
465465
466466
# there are many opportunities here. too many, actually. let userpatches override just some functions, etc.
467467
for extension_base_path in "${USERPATCHES_PATH}/extensions" "${SRC}/extensions"; do
468+
[[ -d "${extension_base_path}" ]] || continue
469+
468470
extension_dir="${extension_base_path}/${extension_name}"
469471
extension_file_in_dir="${extension_dir}/${extension_name}.sh"
470472
extension_floating_file="${extension_base_path}/${extension_name}.sh"

0 commit comments

Comments
 (0)