summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorAnton Fiuman <llexiw@gmail.com>2008-06-02 06:41:52 +0200
committerDan McGee <dan@archlinux.org>2008-06-01 23:49:38 -0500
commit4a802838cb2e2d1eca4c4e07b31a923dc29bd1e3 (patch)
treee556108140137cf2a36db5f0c792710796cf26e7 /scripts/makepkg.sh.in
parent398d4aff2dc25585e51310ba2f7f8d64a9f52081 (diff)
downloadpacman-4a802838cb2e2d1eca4c4e07b31a923dc29bd1e3.tar.xz
Don't require --force when using the --nobuild option
makepkg should not abort with error when a user uses the --nobuild option to extract sources if a package has already been built. Signed-off-by: Anton Fiuman <llexiw@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 54676667..175edb8f 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1356,7 +1356,7 @@ devel_check
devel_update
if [ -f "$PKGDEST/${pkgname}-${pkgver}-${pkgrel}-${CARCH}${PKGEXT}" \
- -a "$FORCE" = "0" -a "$GENINTEG" = "0" -a "$SOURCEONLY" = "0" ]; then
+ -a "$FORCE" = "0" -a "$GENINTEG" = "0" -a "$SOURCEONLY" = "0" -a "$NOBUILD" = "0" ]; then
if [ "$INSTALL" = "1" ]; then
warning "$(gettext "A package has already been built, installing existing package...")"
install_package