Add after_install_package hook

This commit is contained in:
Sam Stephenson 2011-08-02 20:55:10 -05:00
parent a141f4c5c5
commit f353577f50

View file

@ -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