old and new package versions exist for DOWNGRADE also
This commit is contained in:
@@ -292,7 +292,7 @@ class Install(AtomicOperation):
|
|||||||
if ctx.comar:
|
if ctx.comar:
|
||||||
import pisi.comariface
|
import pisi.comariface
|
||||||
try:
|
try:
|
||||||
if self.operation == UPGRADE:
|
if self.operation == UPGRADE or self.operation == DOWNGRADE:
|
||||||
fromVersion = self.old_pkginfo.version
|
fromVersion = self.old_pkginfo.version
|
||||||
fromRelease = self.old_pkginfo.release
|
fromRelease = self.old_pkginfo.release
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user