diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-10-03 22:05:23 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-10-03 22:05:23 +0200 |
commit | 553e0675788308742b83ebaafbf157fecb5271dc (patch) | |
tree | 65cf833fe8c4357481b14f94fe50f0b07063f2fc | |
parent | 0526102864aaad148711715ad4e7d22c1de89263 (diff) | |
download | bin-553e0675788308742b83ebaafbf157fecb5271dc.tar.gz bin-553e0675788308742b83ebaafbf157fecb5271dc.tar.xz |
upgpkg: show download progress and md5sums
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | upgpkg | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -102,6 +102,7 @@ fi sed -i "s/pkgver=.*$/pkgver=$1/g" PKGBUILD sed -i "s/pkgrel=.*$/pkgrel=1/g" PKGBUILD +makepkg -g awk <PKGBUILD '$0 ~ /^(md5|sha[0-9]+)sums/ {i = 1; if(!run==1) {system("makepkg -g 2>/dev/null")}; run=1; }; !i {print}; $0 ~ /\)/ {i = 0}' | sponge PKGBUILD source PKGBUILD |