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

package_name = "rocketchat"

def install():
    if get_distrib_linux() == "almalinux" and get_distrib_version().startswith("10"):
        run('LANG=C yum install -y epel-release', timeout=900)
    # Specific app values
    install_yum(glob.glob("*.rpm")[0])


def uninstall():
    print("Uninstalling: %s" % package_name)
    uninstall_yum(package_name)
