
from plinth import actions
from django.utils.translation import ugettext_lazy as _

version = 1

is_essential = True

depends = ['security', 'apache']

name = _('Single Sign On')

managed_packages = ['libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite']


def setup(helper, old_version=None):
    """Install the required packages"""
    helper.install(managed_packages)
    actions.superuser_run('auth-pubtkt', ['enable-mod'])
    actions.superuser_run('auth-pubtkt', ['create-key-pair'])


from plinth import actions
from django.utils.translation import ugettext_lazy as _

version = 1

is_essential = True

depends = ['security', 'apache']

name = _('Single Sign On')

managed_packages = [
    'libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite',
    'ttf-bitstream-vera'
]


def setup(helper, old_version=None):
    """Install the required packages"""
    helper.install(managed_packages)
    actions.superuser_run('auth-pubtkt', ['enable-mod'])
    actions.superuser_run('auth-pubtkt', ['create-key-pair'])

Make ttf-bitstream-vera a managed package
captcha: Make ttf-bitstream-vera a managed package

Signed-off-by: Joseph Nuthalpati <f3045f1a422c023fc6364ff0e3a18c260c53336e@thoughtworks.com>
Reviewed-by: James Valleroy <46e3063862880873c8617774e45d63de6172aab0@mailbox.org>

  
  from plinth import actions
  from django.utils.translation import ugettext_lazy as _
  
  version = 1
  
  is_essential = True
  
  depends = ['security', 'apache']
  
  name = _('Single Sign On')
  
+ managed_packages = [
- managed_packages = ['libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite']
+     'libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite',
+     'ttf-bitstream-vera'
+ ]
  
  
  def setup(helper, old_version=None):
      """Install the required packages"""
      helper.install(managed_packages)
      actions.superuser_run('auth-pubtkt', ['enable-mod'])
      actions.superuser_run('auth-pubtkt', ['create-key-pair'])
  
Make ttf-bitstream-vera a managed package
## Code Before:

from plinth import actions
from django.utils.translation import ugettext_lazy as _

version = 1

is_essential = True

depends = ['security', 'apache']

name = _('Single Sign On')

managed_packages = ['libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite']


def setup(helper, old_version=None):
    """Install the required packages"""
    helper.install(managed_packages)
    actions.superuser_run('auth-pubtkt', ['enable-mod'])
    actions.superuser_run('auth-pubtkt', ['create-key-pair'])

## Instruction:
Make ttf-bitstream-vera a managed package
## Code After:

from plinth import actions
from django.utils.translation import ugettext_lazy as _

version = 1

is_essential = True

depends = ['security', 'apache']

name = _('Single Sign On')

managed_packages = [
    'libapache2-mod-auth-pubtkt', 'openssl', 'python3-openssl', 'flite',
    'ttf-bitstream-vera'
]


def setup(helper, old_version=None):
    """Install the required packages"""
    helper.install(managed_packages)
    actions.superuser_run('auth-pubtkt', ['enable-mod'])
    actions.superuser_run('auth-pubtkt', ['create-key-pair'])
