mirror of
https://github.com/moparisthebest/pacman
synced 2024-10-31 15:45:03 -04:00
makepkg: allow skipping integrity checks when making source package
Extends the use of the --skipinteg option to creating a source package. Fixes FS#15984. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
0e7ba6bddd
commit
c1fc00508e
@ -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...")"
|
||||
|
Loading…
Reference in New Issue
Block a user