Ignore:
Timestamp:
Dec 21, 2016, 2:04:16 PM (2 years ago)
Author:
jrpelegrina
Message:

WIP in new gui. Add init Actions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/lliurex-up-gui/LliurexUpCore.py

    r3108 r3139  
    1717                self.targetMetapackagePath=os.path.join(self.processPath,"targetMetapackage")
    1818                self.previousflavourspath = os.path.join(self.processPath,'previousflavours')
     19                self.initActionsPath='/usr/share/lliurex-up/initActions'
    1920                self.preActionsPath = '/usr/share/lliurex-up/preActions'
    2021                self.postActionsPath = '/usr/share/lliurex-up/postActions'
     
    148149                        This function install lliurex-up
    149150                '''
    150                 command = "LANG=C apt-get install testdisk {options}".format(options=options)
     151                command = "LANG=C apt-get install lliurex-up {options}".format(options=options)
    151152                p = subprocess.Popen(command,shell=True,stdout=subprocess.PIPE)
    152153                poutput,perror = p.communicate()
     
    235236                self.updateCacheApt('')
    236237                return self.getPackageVersionAvailable('lliurex-version-timestamp','')         
     238
     239        def initActionsScript(self):
     240                return 'run-parts --arg="initActions" ' + self.initActionsPath
    237241
    238242        def preActionsScript(self):
Note: See TracChangeset for help on using the changeset viewer.