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

Re: dpkg --compare-versions



Dale Scheetz <dwarf@polaris.net> writes:

> I have been trying to use dpkg --compare-versions in a perl script I am
> working on. The command seems to execute ok, but I get nothing back from
> it. How do I tell if the command has been successful or not?

Check the value of $CHILD_ERROR (or $? if you haven't declared "use
English;")

--
Rob



Reply to: