Skip to content
Snippets Groups Projects
Commit e15908ff authored by Natanael Copa's avatar Natanael Copa
Browse files

support for .INSTALL file

parent 821f3e6b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment