Skip to content

Commit

Permalink
Revert "[BackupManager] - allow restore for Kernel, Settings & plugins"
Browse files Browse the repository at this point in the history
This reverts commit 59a2e3b.
  • Loading branch information
Huevos committed Jan 13, 2025
1 parent 663f9ef commit 9069025
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions lib/python/Plugins/SystemPlugins/ViX/BackupManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,21 @@ def __onPartitionChange(*args, **kwargs):


def isRestorableSettings(imageversion):
# This check should no longer be necessary
return True
# minimum_version = 4.2
# try:
# imageversion = float(imageversion)
# except:
# return False
# return imageversion >= minimum_version
minimum_version = 4.2
try:
imageversion = float(imageversion)
except:
return False
return imageversion >= minimum_version


def isRestorablePlugins(imageversion):
# This check should no longer be necessary
return True
# minimum_version = 4.2
# try:
# imageversion = float(imageversion)
# except:
# return False
# return imageversion >= minimum_version
minimum_version = 4.2
try:
imageversion = float(imageversion)
except:
return False
return imageversion >= minimum_version


def isRestorableKernel(kernelversion):
Expand Down

0 comments on commit 9069025

Please sign in to comment.