tis-pgadmin 1.22.1-1

  • package : tis-pgadmin
  • version : 1.22.1-1
  • architecture : all
  • locale :
  • description : pgAdmin III 1.22. Uninstall older pgadminIII version and pgadminIV. If intalled on winXP, it installs pgadmin 18.1, the last supported version on that OS
  • maintainer : Hubert TOUVET, Amelie LE JEUNE
  • date : 2018-02-27 19:06:47
  • min_wapt_version :
  • min_os_version :
  • max_os_version :
  • impacted_process :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform
uninstallkey = []

def install():
    print('installing PG Admin')

    all_pgadmin = installed_softwares('pgadmin')
    if all_pgadmin:
        for pgadmin in all_pgadmin:
            if pgadmin['version'] < '1.22' :
                print "Uninstall %s (%s)" % (pgadmin['name'],pgadmin['version'])
                run(WAPT.uninstall_cmd(pgadmin['key']))


    if platform.win32_ver()[0].lower()=='xp':
        print ("os version is winXP, installing last supported version pgadmin 18.1")
        install_msi_if_needed('pgadmin3-18.1.msi',min_version='1.20')
    else:
        run('pgadmin3.msi /qn')

    

Changelog

No changelog
    

manifest.sha256

pgadmin3.msi 6f14980355e8f06014eb881d59e4a95ec29a5a5be92b687dfad524203e7c972f
setup.py e8e7cc01a477050c0fc861f8526402d68847a079340d9be1dbe0ed3647b746fa
WAPT/certificate.crt 79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4
WAPT/wapt.psproj 45a68291c1ae0cf603ab5ae59705963c21aeec576b9852bd9cd5b2d808628a60
WAPT/control 810ea69ff70c77d16c1b58b9154a8ec845805583f57cd2514d2ca884cb1bf927