1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:27:45 +00:00

Ports: Add a pre_install hook

This commit is contained in:
Ali Mohammad Pur 2022-02-11 17:49:24 +03:30 committed by Andreas Kling
parent 99f9860854
commit aaa52da97d

View file

@ -363,6 +363,10 @@ fetch() {
post_fetch
}
func_defined pre_install || pre_install() {
:
}
func_defined pre_patch || pre_patch() {
:
}
@ -520,6 +524,7 @@ do_build() {
}
do_install() {
ensure_build
pre_install
echo "Installing $port..."
install
install_main_launcher