index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2009-10-11 21:16:09 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-18 11:35:55 -0500 |
commit | c1fc00508e337f20eb94e95978e193d23cfeaf10 (patch) | |
tree | c24c39477d12a71fc4c06f4e7a24f8ab1915c1a2 /scripts | |
parent | 0e7ba6bddd4b6c67cb6344ee3af4bacb00cda76b (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 12 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 30e365c0..17072454 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1077,9 +1077,15 @@ create_srcpackage() { mkdir -p "$srcdir" chmod a-s "$srcdir" cd "$srcdir" - download_sources - # We can only check checksums if we have all files. - check_checksums + if (( ! SKIPINTEG || SOURCEONLY == 2 )); then + download_sources + fi + if (( ! SKIPINTEG )); then + # We can only check checksums if we have all files. + check_checksums + else + warning "$(gettext "Skipping integrity checks.")" + fi cd "$startdir" msg "$(gettext "Creating source package...")" |