From 31cb2100573c54c8996edbc8a7321d48b990c149 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 9 Apr 2011 17:26:55 -0500 Subject: bacman: fix the fact that the depends file no longer exists Addresses FS#23641. Signed-off-by: Dan McGee --- contrib/bacman.in | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'contrib') diff --git a/contrib/bacman.in b/contrib/bacman.in index bd545180..ebcc386d 100755 --- a/contrib/bacman.in +++ b/contrib/bacman.in @@ -174,7 +174,7 @@ fi echo "# $(LC_ALL=C date)" >> .PKGINFO echo "#" >> .PKGINFO -cat "$pkg_dir"/{desc,files,depends} | +cat "$pkg_dir"/{desc,files} | while read i; do if [[ -z "$i" ]]; then continue; @@ -220,14 +220,6 @@ while read i; do %REPLACES%) echo "replaces = $i" >> .PKGINFO ;; - - # files - %BACKUP%) - # strip the md5sum after the tab - echo "backup = ${i%%$'\t'*}" >> .PKGINFO - ;; - - # depends %DEPENDS%) echo "depend = $i" >> .PKGINFO ;; @@ -240,6 +232,12 @@ while read i; do %PROVIDES%) echo "provides = $i" >> .PKGINFO ;; + + # files + %BACKUP%) + # strip the md5sum after the tab + echo "backup = ${i%%$'\t'*}" >> .PKGINFO + ;; esac done -- cgit v1.2.3-70-g09d2