summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/abuild b/abuild
index f87dd80..dc790f1 100755
--- a/abuild
+++ b/abuild
@@ -173,6 +173,10 @@ package_apk() {
echo "$depends" > "$db/DEPEND"
echo "$url" > "$db/WWW"
local i
+ if [ -n "$install" ]; then
+ cp "$srcdir/$install" "$dir/.INSTALL" || return 1
+ chmod +x "$dir/.INSTALL"
+ fi
for i in pre-install post-install pre-deinstall post-deinstall; do
[ -f ../$i ] && cp ../$i "$db"/
done