mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
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>
This commit is contained in:
parent
d44e509933
commit
c6f0fc27ed
@ -1910,9 +1910,9 @@ if (( SOURCEONLY )); then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if (( NODEPS || NOBUILD || REPKG )); then
|
||||
if (( NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN ) )); then
|
||||
# no warning message needed for nobuild, repkg
|
||||
if (( NODEPS )); then
|
||||
if (( NODEPS || ( REPKG && PKGFUNC ) )); then
|
||||
warning "$(gettext "Skipping dependency checks.")"
|
||||
fi
|
||||
elif [ $(type -p "${PACMAN%% *}") ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user