summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-01-04 09:15:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-01-04 09:15:05 +0000
commit2182953390723eb9854092063448c1882947da52 (patch)
tree6a1b1d2fbc88827f7da73c143b64d652753d228d
parent0472849c0c03803418d57db7750dc8d829f9ee55 (diff)
downloadabuild-2182953390723eb9854092063448c1882947da52.tar.gz
abuild-2182953390723eb9854092063448c1882947da52.tar.bz2
abuild-2182953390723eb9854092063448c1882947da52.tar.xz
abuild-2182953390723eb9854092063448c1882947da52.zip
abuild: supporrt for install_if. remove unused 'backup'
-rwxr-xr-xabuild.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/abuild.in b/abuild.in
index ae2dd84..bd786a7 100755
--- a/abuild.in
+++ b/abuild.in
@@ -479,12 +479,12 @@ EOF
for i in $provides; do
echo "provides = $i" >> "$pkginfo"
done
- for i in $backup; do
- echo "backup = $i" >> "$pkginfo"
- done
if [ -n "$triggers" ]; then
echo "triggers = ${triggers#*:}" >> "$pkginfo"
fi
+ if [ -n "$install_if" ]; then
+ echo "install_if = $(echo $install_if)" >> "$pkginfo"
+ fi
local metafiles=".PKGINFO"
for i in $install ${triggers%%:*}; do