summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-10 00:26:55 +0200
committerDan McGee <dan@archlinux.org>2011-04-10 00:26:55 +0200
commit31cb2100573c54c8996edbc8a7321d48b990c149 (patch)
tree201e5453d3d108919f1d7931a8336d1cfca727cc
parentdbd7d49d31d337d0b63d7945fd3308f903a75fd2 (diff)
downloadpacman-31cb2100573c54c8996edbc8a7321d48b990c149.tar.gz
pacman-31cb2100573c54c8996edbc8a7321d48b990c149.tar.xz
bacman: fix the fact that the depends file no longer exists
Addresses FS#23641. Signed-off-by: Dan McGee <dan@archlinux.org>
-rwxr-xr-xcontrib/bacman.in16
1 files changed, 7 insertions, 9 deletions
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