[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Poor man's source-dependencies (was: XFree86 3.3.2-1 ... come and get it, boys)



Branden Robinson <branden@purdue.edu> writes:

> If we ever have a vote on source dependencies, put me down in support.
> That's the second build of -1 that bombed or was screwed up by packages not
> being installed on master.

You might check early in the build target whether the needed packages
are installed:

dpkg -s altgcc | grep -q '^Status: install ok installed'

For version numbers:

dpkg --compare-versions `dpkg -s gcc | grep '^Version'| awk '{ print
$2 ; }'` ge 2.90.23

	Sven
-- 
Sven Rudolph <sr1@inf.tu-dresden.de>
http://www.sax.de/~sr1/


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: