network-manager: standardize dpkg-vendor '--derives' instead of '--is'

This commit is contained in:
Luis Guzmán 2024-11-10 07:07:55 +00:00
parent 193c89753f
commit 9d07b5ee53
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ index 0740cdee..cde335f9 100755
include /usr/share/dpkg/architecture.mk
-ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes || dpkg-vendor --is Trisquel && echo yes) $(DEB_HOST_ARCH), yes i386)
+ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
BUILD_PACKAGES += -Nnetwork-manager
NETPLAN += --disable-netplan
endif