This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch master in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=a0061dfbc9cc949d6e41ec379e82d830e383d61e commit a0061dfbc9cc949d6e41ec379e82d830e383d61e Author: Raphaƫl Hertzog <[email protected]> AuthorDate: Tue Jan 18 16:16:06 2011 +0000 Add test pattern pkg_is_not_installed Sponsored-by: Linaro Limited --- Test.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Test.mk b/Test.mk index 35c76d3ce..b809737d6 100644 --- a/Test.mk +++ b/Test.mk @@ -32,6 +32,7 @@ stdout_has = $(1) | grep -q "$(2)" stderr_is = test "`$(1) 2>&1 1>/dev/null`" = "$(2)" stderr_has = $(1) 2>&1 1>/dev/null | grep -q "$(2)" pkg_is_installed = $(call stdout_is,$(PKG_STATUS) $(1),install ok installed) +pkg_is_not_installed = $(call stdout_has,$(PKG_STATUS) $(1) 2>/dev/null, ok not-installed) || ! $(PKG_STATUS) $(1) >/dev/null 2>&1 %.deb: % $(DPKG_BUILD_DEB) $< $@ -- Dpkg.Org's dpkg

