build: vpp-ext-deps .rpm may not be installed

It's fine to remove the old .rpm, but don't stop the parade if there
wasn't an old .rpm to remove.

Type: fix

Change-Id: I500c740cc4ded16d3345c1e98462a1e8533f1028
Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
2019-07-01 19:08:33 -04:00
parent 7910feb5af
commit b252848326

View File

@ -121,7 +121,7 @@ build-rpm: $(DEV_RPM)
install-rpm:
ifneq ($(INSTALLED_RPM_VER),$(RPM_VER)-$(PKG_SUFFIX))
@$(MAKE) $(DEV_RPM)
sudo rpm -e vpp-ext-deps
sudo rpm -e vpp-ext-deps || true
sudo rpm -Uih --force $(DEV_RPM)
else
@echo "=========================================================="