diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-04 09:15:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-01-04 09:15:05 +0000 |
commit | 2182953390723eb9854092063448c1882947da52 (patch) | |
tree | 6a1b1d2fbc88827f7da73c143b64d652753d228d | |
parent | 0472849c0c03803418d57db7750dc8d829f9ee55 (diff) | |
download | abuild-2182953390723eb9854092063448c1882947da52.tar.gz abuild-2182953390723eb9854092063448c1882947da52.tar.bz2 abuild-2182953390723eb9854092063448c1882947da52.tar.xz abuild-2182953390723eb9854092063448c1882947da52.zip |
abuild: supporrt for install_if. remove unused 'backup'
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |