Détails du package
smp-fixupwapt
Revenir à la liste des packages
Fichier control :
package : smp-fixupwapt
version : 19
architecture : all
section : base
priority : optional
name :
categories :
maintainer : TIS <technique@tranquil-it-systems.fr>
description : Fixup pour oublie de paquet en masse
depends :
conflicts :
maturity :
locale :
target_os :
min_os_version :
max_os_version :
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : d57db2f4-7af1-4ac1-bae9-46ce4a6a250b
valid_from :
valid_until :
forced_install_on :
changelog :
signer : wapt.lesfourmisduweb.org
signer_fingerprint: 1e54425be03a2a3ea1a264b40d984c31f17a6a489a3b722acb993cbf6561e903
signature : AchrGX0qP1QI8PtBbJ8lbx+BLRfKJ76b0auqoH5+reeMTcYV3H7tQb9M509r3TkEJKxHegKPgYpYQF6+CJNcpOvVqkTIqwfTULd/7i+Ec24JFiPwZNntdZoWiHvHGA9XqFJavcy/O011cYTxf/pAWDsUHXrbo6ZDNVw5YJvSL/XMqiqRVmfpH8INNdqK8KpQhvUpNqf8lVilwwm8SNZQBTjdo5i0rX9xwpTs+vDcl34N6AQM32f25cAQs2a8wIjDd4AD3ccQbanScPyB1muRf6S9jS8YNUcOLfP9Dd6urK9EqHQIpPbWjJtx57AaYaqThQlVPttyCf3DYSYB9l339A==
signature_date : 2020-07-04T01:19:09.873395
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,signer,signer_fingerprint,signature_date,signed_attributes
Fichier setup.py :
#!/usr/bin/python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------------------
# This file is part of WAPT
# Copyright (C) 2013 Tranquil IT Systems http://www.tranquil.it
# WAPT aims to help Windows systems administrators to deploy
# setup and update applications on users PC.
#
# WAPT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# WAPT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WAPT. If not, see <http://www.gnu.org/licenses/>.
#
# -----------------------------------------------------------------------
import platform
from setuphelpers import *
uninstallkey=[]
def install():
prefixpkg = control.package.split('-',1)[0]
reader = WAPT.is_installed('%s-pdfcreator'% prefixpkg)
if reader and Version(reader.version.split('-',1)[0]) == Version('3.2.1'):
WAPT.forget_packages(reader.package)
WAPT.install('%s-pdfcreator'% prefixpkg)