mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 06:35:50 +01:00
Add after_install_package hook
This commit is contained in:
parent
a141f4c5c5
commit
f353577f50
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,7 @@ install_package() {
|
|||
extract_package "$package_name"
|
||||
cd "$package_name"
|
||||
build_package "$package_name" $*
|
||||
after_install_package "$package_name"
|
||||
cd "$cwd"
|
||||
}
|
||||
|
||||
|
@ -69,6 +70,10 @@ build_package_copy() {
|
|||
cp -R . $PREFIX_PATH
|
||||
}
|
||||
|
||||
after_install_package() {
|
||||
local stub=1
|
||||
}
|
||||
|
||||
usage() {
|
||||
echo "usage: ruby-build DEFINITION-PATH INSTALLATION-PREFIX"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue