search for: inst_d

Displaying 1 result from an estimated 1 matches for "inst_d".

Did you mean: insted
2009 Jun 26
0
RPM python subroutine for (epoch, version, release) comparation?
...n-%release?, and so the RPM ?comparing process is simplified as string comparing ? which doesn?t look correct, am I wrong? See the code from the page: ? -------------------------------------------------------------------------------------- file_h = ts.hdrFromFdno(fd) file_ds = file_h.dsOfHeader() inst_ds = inst_h.dsOfHeader() if file_ds.EVR() >= inst_ds.EVR(): print "Package file is same or newer, OK to upgrade." else: print "Package file is older than installed version." -------------------------------------------------------------------------------------- ? I?ve see an...