From ab862518e2bfd62462efa7e468ea73fe5b4009cd Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Thu, 2 Feb 2006 12:41:04 +0000 Subject: [PATCH] Stefan Fiedler: scripts/Download: allow -cksumpatch with -repository option [2005122913281716265] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@6999 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- scripts/Download | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/Download b/scripts/Download index ee1ccb2fa..b8134f2a0 100755 --- a/scripts/Download +++ b/scripts/Download @@ -972,6 +972,10 @@ packages() { "$url" "$cksum" "$repo" "$pkg" done < <(descparser $forkedpkg package/$repo/$pkg/$pkg.desc | grep '^\[D\] ') + + if [ $cksumpatch = 1 ]; then + ./scripts/Create-CkSumPatch $pkg | patch -p0 + fi ;; esac done @@ -988,9 +992,6 @@ mapped_packages() { export xpkg=$pkg . src/pkgmapper packages $pkg - if [ $cksumpatch = 1 ]; then - ./scripts/Create-CkSumPatch $pkg | patch -p0 - fi done }