old and new package versions exist for DOWNGRADE also

This commit is contained in:
Faik Uygur
2009-11-10 09:41:42 +00:00
parent 692e7b043d
commit 175b3ce19c
+1 -1
View File
@@ -292,7 +292,7 @@ class Install(AtomicOperation):
if ctx.comar:
import pisi.comariface
try:
if self.operation == UPGRADE:
if self.operation == UPGRADE or self.operation == DOWNGRADE:
fromVersion = self.old_pkginfo.version
fromRelease = self.old_pkginfo.release
else: