diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2008-10-30 22:57:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2008-10-30 22:57:58 +0000 |
commit | e15908ffc2799e75efd34c7bbbf6a77043137467 (patch) | |
tree | 590baf39c9b0cdbab35fca98f820d33742e38e12 /abuild | |
parent | 821f3e6bb199f512264cf965d44e774ffcf39349 (diff) | |
download | abuild-e15908ffc2799e75efd34c7bbbf6a77043137467.tar.gz abuild-e15908ffc2799e75efd34c7bbbf6a77043137467.tar.bz2 abuild-e15908ffc2799e75efd34c7bbbf6a77043137467.tar.xz abuild-e15908ffc2799e75efd34c7bbbf6a77043137467.zip |
support for .INSTALL file
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |