Changeset 3402


Ignore:
Timestamp:
Jan 25, 2017, 1:34:00 PM (2 years ago)
Author:
Juanma
Message:

Adds recursos repository when installing infantil flavour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-flavours/trunk/fuentes/install-files/usr/share/lliurex-flavours-selector/lliurex-flavours-selector.py

    r3401 r3402  
    1212import platform
    1313import subprocess
     14from subprocess import PIPE
    1415import sys
    1516import datetime
     
    574575                       
    575576                for item in self.install_metas:
    576                         if item.info["pkg"]="lliurex-meta-infantil":
    577                                 cmd=["sudo","/usr/bin/add-apt-repository", "ppa:llxdev/recursos"]
    578                                 x=subprocess.Popen((cmd),stdin=PIPE,stdout=PIPE)
     577                        if item.info["pkg"]=="lliurex-meta-infantil":
     578                                cmdInfantil=["sudo","/usr/bin/add-apt-repository", "ppa:llxdev/recursos"]
     579                                x=subprocess.Popen((cmdInfantil),stdin=PIPE,stdout=PIPE)
    579580                                log_msg="Adding repository recursos"
    580581                                self.log(log_msg)
Note: See TracChangeset for help on using the changeset viewer.