1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

makepkg: do not retrieve sources if NOEXTRACT or REPKG set

Signed-off-by: Dag Odenhall <dag.odenhall@gmail.com>
Signed-off-by: Andrew Fyfe <Andrew Fyfe  andrew@neptune-one.net>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dag Odenhall 2007-05-30 23:04:36 +02:00 committed by Dan McGee
parent 90a307bfa3
commit 2ef1c8416f

View File

@ -997,6 +997,9 @@ cd "$startdir"
mkdir -p src
cd "$srcdir"
if [ "$NOEXTRACT" = "1" -o "$REPKG" = "1" ]; then
warning "$(gettext "Skipping source retrieval -- using existing src/ tree")"
else
msg "$(gettext "Retrieving Sources...")"
for netfile in ${source[@]}; do
file=$(strip_url "$netfile")
@ -1034,6 +1037,7 @@ for netfile in ${source[@]}; do
fi
done
unset netfile file dlclient ret
fi
if [ "$NOEXTRACT" = "1" -o "$REPKG" = "1" ]; then
warning "$(gettext "Skipping source integrity checks -- using existing src/ tree")"