From 058784a10e5750fb1aedf3362b0a6712827457be Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Wed, 27 Oct 2021 13:24:12 +0300 Subject: [PATCH] Disable linux actor installers from download page --- .../uds/osmanagers/LinuxOsManager/__init__.py | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/server/src/uds/osmanagers/LinuxOsManager/__init__.py b/server/src/uds/osmanagers/LinuxOsManager/__init__.py index 1c8fdaf4..008ad7c9 100644 --- a/server/src/uds/osmanagers/LinuxOsManager/__init__.py +++ b/server/src/uds/osmanagers/LinuxOsManager/__init__.py @@ -44,44 +44,44 @@ from .linux_randompass_osmanager import LinuxRandomPassManager OSManagersFactory.factory().insert(LinuxOsManager) OSManagersFactory.factory().insert(LinuxRandomPassManager) -downloadsManager().registerDownloadable( - 'udsactor_{version}_all.deb'.format(version=VERSION), - _('UDS Actor for Debian, Ubuntu, ... Linux machines (Requires python >= 3.6)'), - os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor_{version}_all.deb'.format(version=VERSION), - 'application/x-debian-package' -) +# downloadsManager().registerDownloadable( +# 'udsactor_{version}_all.deb'.format(version=VERSION), +# _('UDS Actor for Debian, Ubuntu, ... Linux machines (Requires python >= 3.6)'), +# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor_{version}_all.deb'.format(version=VERSION), +# 'application/x-debian-package' +# ) -downloadsManager().registerDownloadable( - 'udsactor-{version}-1.noarch.rpm'.format(version=VERSION), - _('UDS Actor for Centos, Fedora, RH, Suse, ... Linux machines (Requires python >= 3.6)'), - os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-{version}-1.noarch.rpm'.format(version=VERSION), - 'application/x-redhat-package-manager' -) +# downloadsManager().registerDownloadable( +# 'udsactor-{version}-1.noarch.rpm'.format(version=VERSION), +# _('UDS Actor for Centos, Fedora, RH, Suse, ... Linux machines (Requires python >= 3.6)'), +# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-{version}-1.noarch.rpm'.format(version=VERSION), +# 'application/x-redhat-package-manager' +# ) -downloadsManager().registerDownloadable( - 'udsactor-unmanaged_{version}_all.deb'.format(version=VERSION), - _('UDS Actor for Debian based Linux machines. Used ONLY for static machines. (Requires python >= 3.6)'), - os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-unmanaged_{version}_all.deb'.format(version=VERSION), - 'application/x-debian-package' -) +# downloadsManager().registerDownloadable( +# 'udsactor-unmanaged_{version}_all.deb'.format(version=VERSION), +# _('UDS Actor for Debian based Linux machines. Used ONLY for static machines. (Requires python >= 3.6)'), +# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-unmanaged_{version}_all.deb'.format(version=VERSION), +# 'application/x-debian-package' +# ) -downloadsManager().registerDownloadable( - 'udsactor_2.2.0_legacy.deb', - _('Legacy UDS Actor for Debian, Ubuntu, ... Linux machines (Requires python 2.7)'), - os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor_2.2.0_legacy.deb', - 'application/x-debian-package' -) +# downloadsManager().registerDownloadable( +# 'udsactor_2.2.0_legacy.deb', +# _('Legacy UDS Actor for Debian, Ubuntu, ... Linux machines (Requires python 2.7)'), +# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor_2.2.0_legacy.deb', +# 'application/x-debian-package' +# ) -downloadsManager().registerDownloadable( - 'udsactor-legacy-2.2.1-1.noarch.rpm', - _('Legacy UDS Actor for Centos, Fedora, RH, ... Linux machines (Requires python 2.7)'), - os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-legacy-2.2.1-1.noarch.rpm', - 'application/x-redhat-package-manager' -) +# downloadsManager().registerDownloadable( +# 'udsactor-legacy-2.2.1-1.noarch.rpm', +# _('Legacy UDS Actor for Centos, Fedora, RH, ... Linux machines (Requires python 2.7)'), +# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-legacy-2.2.1-1.noarch.rpm', +# 'application/x-redhat-package-manager' +# ) -downloadsManager().registerDownloadable( - 'udsactor-opensuse-legacy-2.2.1-1.noarch.rpm', - _('Legacy UDS Actor for OpenSUSE, ... Linux machines (Requires python 2.7)'), - os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-opensuse-legacy-2.2.1-1.noarch.rpm', - 'application/x-redhat-package-manager' -) +# downloadsManager().registerDownloadable( +# 'udsactor-opensuse-legacy-2.2.1-1.noarch.rpm', +# _('Legacy UDS Actor for OpenSUSE, ... Linux machines (Requires python 2.7)'), +# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-opensuse-legacy-2.2.1-1.noarch.rpm', +# 'application/x-redhat-package-manager' +# )