summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 6b99ca2..9e894dc 100755
--- a/abuild.in
+++ b/abuild.in
@@ -291,6 +291,10 @@ runpart() {
}
# override those in your build script
+prepare() {
+ :
+}
+
build() {
:
}
@@ -508,7 +512,7 @@ create_apks() {
apkcache() {
if ! apk_up2date || [ -n "$force" ]; then
sanitycheck && builddeps && clean && fetch && unpack \
- && mkusers && rootpkg || return 1
+ && prepare && mkusers && rootpkg || return 1
fi
local apk