support for .INSTALL file
This commit is contained in:
parent
821f3e6bb1
commit
e15908ffc2
4
abuild
4
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user