Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

Commit 7787551

Browse files
committed
Allow hooks to be defined for phpenv-install
1 parent bfa2d4f commit 7787551

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/phpenv-install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ done
6060
DEFINITION="${ARGUMENTS[0]}"
6161
[ -n "$DEFINITION" ] || usage 1
6262

63+
for script in $(phpenv-hooks install); do
64+
source "$script"
65+
done
66+
6367
VERSION_NAME="${DEFINITION##*/}"
6468
PREFIX="${PHPENV_ROOT}/versions/${VERSION_NAME}"
6569

0 commit comments

Comments
 (0)