diff options
author | Anton Fiuman <llexiw@gmail.com> | 2008-06-02 06:41:52 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-06-02 06:49:38 +0200 |
commit | 4a802838cb2e2d1eca4c4e07b31a923dc29bd1e3 (patch) | |
tree | e556108140137cf2a36db5f0c792710796cf26e7 | |
parent | 398d4aff2dc25585e51310ba2f7f8d64a9f52081 (diff) | |
download | pacman-4a802838cb2e2d1eca4c4e07b31a923dc29bd1e3.tar.gz pacman-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>
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
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 |