Commit e15908ff authored by Natanael Copa's avatar Natanael Copa

support for .INSTALL file

parent 821f3e6b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment