Resolve dependencies whenever --syncdeps is passed and --nodeps is not
commitc6f0fc27eda31943e10e2a89e221796efb87dce9
authorNezmer <git@nezmer.info>
Mon, 17 May 2010 14:52:38 +0000 (17 10:52 -0400)
committerDan McGee <dan@archlinux.org>
Tue, 18 May 2010 16:31:59 +0000 (18 11:31 -0500)
tree5e3e4300c1ca3f1be8d516a19ef461ba3a98e0c9
parentd44e5099339616c29797b88ed19fe27ea282c9ae
Resolve dependencies whenever --syncdeps is passed and --nodeps is not

With this patch, dependencies will be resolved and not silently ignored
when running:

makepkg --nobuild --syncdeps
makepkg --repackage --syncdeps

Also, a warning is displayed when repackaging and dependencies are not
being resolved.

Thank you Allan for the feedback.

Signed-off-by: Nezmer <git@nezmer.info>
[Allan: Only warn when repackaging with a package function]
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
scripts/makepkg.sh.in