tis-add-preprod-maturity 12

  • package : tis-add-preprod-maturity
  • version : 12
  • architecture : all
  • locale :
  • description : Ajout de PREPROD a la section maturities au wapt-get.ini des agents
  • maintainer : wapt.lesfourmisduweb.org
  • date : 2018-04-10 16:12:31
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

#!/usr/bin/python

from setuphelpers import *

uninstallkey=[]

newmaturity = 'PREPROD'

def install():
    if not newmaturity in WAPT.maturities:
        WAPT.maturities.append(newmaturity)
        inifile_writestring(WAPT.config_filename,'global','maturities',','.join(WAPT.maturities))

def uninstall():
    if newmaturity in WAPT.maturities:
        WAPT.maturities.remove(newmaturity)
        inifile_writestring(WAPT.config_filename,'global','maturities',','.join(WAPT.maturities))

    if not inifile_readstring(WAPT.config_filename,'global','maturities',','.join(WAPT.maturities)) :
        inifile_deleteoption(WAPT.config_filename,'global','maturities')

    

Changelog

No changelog
    

manifest.sha256

setup.py c3b2be5274f94e79364466dac4829e1db29edb1eee207d00f10f39ed0093d5ca
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/icon.png 611ac64556c71b79d18ea1cb1f624a7075a5f5e245ce04cd613de22d5829f2ac
WAPT/control e9d3575281920adf1251390a44780a88d8db31d4e54ff1b85802dfb086a7e3cc
WAPT/wapt.psproj b6db619daee03b47d37e5766a6a743091bfd8efc2ddada421708ae7d2d044ac0