index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-04-15 18:41:49 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-15 18:41:49 -0500 |
commit | efd8ae483fe587feccd32c90fbee474aa19a5557 (patch) | |
tree | 02dfc2f4597d69dcaa18050b604f5c1df5450cd4 /contrib | |
parent | 202ade1398ca57070e56de24c3639f3048ecd784 (diff) | |
parent | 21a881ec6875dccf42bd602496fa93c5a61f2640 (diff) |
-rwxr-xr-x | contrib/bacman.in | 16 |
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 |