from Wizard import Wizard, wizardManager
-from Components.config import configElementBoolean, config
-from Components.Pixmap import *
-
-from LanguageSelection import LanguageSelection
from Tools.Directories import fileExists
import os
class ImageWizard(Wizard):
skin = """
<screen position="0,0" size="720,576" title="Welcome..." flags="wfNoBorder">
- <widget name="text" position="50,100" size="440,250" font="Regular;23" />
+ <widget name="text" position="50,100" size="440,250" font="Regular;22" />
<widget name="list" position="50,350" zPosition="1" size="440,200" />
<widget name="config" position="50,350" zPosition="1" size="440,200" transparent="1" scrollbarMode="showOnDemand" />
</screen>"""
os.system('tar cvpf ' + path + backupfile + ' /etc/enigma2')
def doRestore(path):
- os.system('cd / && tar xvpf ' + path + backupfile + ' etc/enigma2')
+ os.system('cd / && /bin/tar xvpf ' + path + backupfile)
\ No newline at end of file