Richard Ulrich <[email protected]> wrote on 2011-03-02 22:13:
> ifeq ( $(shell [ -e /etc/dpkg/origins/default ]; printf $$?), 0)
> ifeq ( $(shell dpkg-vendor --derives-from Ubuntu && echo yes), yes)
> @echo "ubuntu maverick"
> else
> @echo "debian squeeze"
> endif
> else
> @echo "debian lenny"
> endif
I had the same problem some weeks ago. The solution is:
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
...
endif
ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
...
endif
---
Have a nice day.
Joachim (Germany)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]