mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 01:41:52 -05:00
makepkg.sh.in - if both -r and -i are provided, only remove makedeps
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
52afce0a10
commit
b7c06d6d67
@ -2299,7 +2299,7 @@ if (( NODEPS || ( (NOBUILD || REPKG) && !DEP_BIN ) )); then
|
||||
warning "$(gettext "Skipping dependency checks.")"
|
||||
fi
|
||||
elif type -p "${PACMAN%% *}" >/dev/null; then
|
||||
if (( RMDEPS )); then
|
||||
if (( RMDEPS && ! INSTALL )); then
|
||||
original_pkglist=($(run_pacman -Qq)) # required by remove_dep
|
||||
fi
|
||||
deperr=0
|
||||
@ -2307,6 +2307,10 @@ elif type -p "${PACMAN%% *}" >/dev/null; then
|
||||
msg "$(gettext "Checking runtime dependencies...")"
|
||||
resolve_deps ${depends[@]} || deperr=1
|
||||
|
||||
if (( RMDEPS && INSTALL )); then
|
||||
original_pkglist=($(run_pacman -Qq)) # required by remove_dep
|
||||
fi
|
||||
|
||||
msg "$(gettext "Checking buildtime dependencies...")"
|
||||
resolve_deps ${makedepends[@]} || deperr=1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user