Détails du package smp-config-for-firefox 4
retour Revenir à la liste des packages

smp-config-for-firefox

package           : smp-config-for-firefox
version           : 4
architecture      : all
section           : base
priority          : optional
maintainer        : Simon Fonteneau
description       : Configure Firefox (force wpad, diable migration from ie, disable update, disable pdf ,disable ipv6 ...)
depends           : smp-firefox-esr
conflicts         : 
maturity          : 
locale            : 
min_os_version    : 
max_os_version    : 
min_wapt_version  : 
sources           : 
installed_size    : 
signer            : wapt.lesfourmisduweb.org
signer_fingerprint: 8da83ebdac1a25e820b186510d049f47407b11835b0664fdc5bacd3595b1671d
signature         : ld98v8OE2NJ84oDBZygHp3LOj+Fh/V1qZlM5e02evyhnoi4D4t3G/+QUSB+/K/Lbf2zme6O9PoMUW0YlfIEYxcYz+MQQLkqE7H7vLKchdXp9V/oZ4zTeQiiWpnAs6GOlLK2vPM0YElFhMBEkqqXxiM0jOK31wAzHB4tmPWPoUvokPwxRzK3ZrnBV2lsh0fWxZTfRtDr1ilsJhvaEijfzhdCESW0Ek+a8MAvXD+mk8FdfZKGqNrmMUCDO0eo0bk1bLazB6GhJAxDR7DG+l1Gg/ddTdf+ld+HPx8c+ly4ck4EsCf2OV2KYbW8XS9un+2c/EIn+/v2s9W0QEA5i5Kqsdw==
signature_date    : 20171122-013509
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,min_os_version,max_os_version,min_wapt_version,sources,installed_size,signer,signer_fingerprint,signature_date,signed_attributes





setup.py

# -*- coding: UTF-8 -*-
from setuphelpers import *

uninstallkey = []

def install():

    for uninstallkey in installed_softwares('Mozilla Firefox'):
        locationfirefox =  uninstallkey['install_location']

        print("Disabling auto update")
        filecopyto("mozilla.cfg",makepath(locationfirefox))
        filecopyto("local-settings.js",makepath(locationfirefox,"defaults","pref"))

        print ("Disabling profile migration from ie")
        filecopyto("override.ini",makepath(locationfirefox,"browser"))

        print ("Override User UI")
        ensure_dir(makepath(locationfirefox,"browser","defaults","profile","chrome",""))
        filecopyto("userChrome.css",makepath(locationfirefox,"browser","defaults","profile","chrome"))

        """
        print ("Deploy extensions")
        ensure_dir(makepath(installlocation,"browser","extensions",""))
        copytree2("extensions",makepath(installlocation,"browser","extensions"))
        """