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


def install():

    if get_distrib_linux() == "almalinux" and get_distrib_version().startswith("10"):   
        run('LANG=C yum install -y epel-release', timeout=900)

    install_yum(glob.glob("*.rpm")[0])


def uninstall():
    uninstall_yum("mattermost-desktop")
