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:
parent
99f9860854
commit
aaa52da97d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue