Changeset 3257 for lliurex-up/trunk


Ignore:
Timestamp:
Jan 12, 2017, 9:29:17 AM (3 years ago)
Author:
kbut
Message:

add force-yes and yes options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-up/trunk/fuentes/python-lliurex-up/lliurex/lliurexup/__init__.py

    r3255 r3257  
    149149                        This function install lliurex-up
    150150                '''
    151                 command = "LANG=C apt-get install lliurex-up {options}".format(options=options)
     151                command = "LANG=C apt-get install --force-yes --yes lliurex-up {options}".format(options=options)
    152152                p = subprocess.Popen(command,shell=True,stdout=subprocess.PIPE)
    153153                poutput,perror = p.communicate()
     
    260260                        This function install lliurex-up
    261261                '''
    262                 command = "LANG=C apt-get install " + flavourToInstall + "{options} ".format(options=options)
     262                command = "LANG=C apt-get install --force-yes --yes " + flavourToInstall + "{options} ".format(options=options)
    263263                p = subprocess.Popen(command,shell=True,stdout=subprocess.PIPE)
    264264                poutput,perror = p.communicate()
Note: See TracChangeset for help on using the changeset viewer.