mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
Ports: Add a pre_install hook
This commit is contained in:
parent
99f9860854
commit
aaa52da97d
1 changed files with 5 additions and 0 deletions
|
@ -363,6 +363,10 @@ fetch() {
|
||||||
post_fetch
|
post_fetch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func_defined pre_install || pre_install() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
func_defined pre_patch || pre_patch() {
|
func_defined pre_patch || pre_patch() {
|
||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
@ -520,6 +524,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
ensure_build
|
ensure_build
|
||||||
|
pre_install
|
||||||
echo "Installing $port..."
|
echo "Installing $port..."
|
||||||
install
|
install
|
||||||
install_main_launcher
|
install_main_launcher
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue