diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-03-26 16:00:11 +0100 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-03-26 16:00:11 +0100 |
commit | d480be60eb1d0dd0d2089129f796aacb240d1652 (patch) | |
tree | 0807745575078f022467137c96b6ba3c7cc3480e /subr.pkg | |
parent | f451cfc43324c7155c985779f9690ef2ef280f6e (diff) | |
download | midipix_build-d480be60eb1d0dd0d2089129f796aacb240d1652.tar.bz2 midipix_build-d480be60eb1d0dd0d2089129f796aacb240d1652.tar.xz |
subr.pkg/pkg_fetch_extract.subr: run "${PKG_BASE_DIR}/${PKG_SUBDIR}/srcprep.sh" if existing.
Diffstat (limited to 'subr.pkg')
-rw-r--r-- | subr.pkg/pkg_fetch_extract.subr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/subr.pkg/pkg_fetch_extract.subr b/subr.pkg/pkg_fetch_extract.subr index ccbcb1ad..14839ce5 100644 --- a/subr.pkg/pkg_fetch_extract.subr +++ b/subr.pkg/pkg_fetch_extract.subr @@ -43,6 +43,10 @@ pkg_fetch_extract() { fi; fi; + if [ -x "${PKG_BASE_DIR}/${PKG_SUBDIR}/srcprep.sh" ]; then + "${PKG_BASE_DIR}/${PKG_SUBDIR}/srcprep.sh"; + fi; + return 0; }; |