From 3e34420beb774d76d1f3e6b4ed0efd2c3c5b3e65 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 May 2018 14:14:53 +0100 Subject: restrict sisyphus to binmode only --- src/backend/libsisyphus.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 1d05b8c..1f15140 100755 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -28,7 +28,6 @@ def checkRoot(): def checkSystemMode(): portage_binmode_make_conf = '/opt/redcore-build/conf/intel/portage/make.conf.amd64-binmode' - portage_mixedmode_make_conf = '/opt/redcore-build/conf/intel/portage/make.conf.amd64-mixedmode' portage_make_conf_symlink = '/etc/portage/make.conf' if not os.path.islink(portage_make_conf_symlink): @@ -37,10 +36,8 @@ def checkSystemMode(): else: if os.path.realpath(portage_make_conf_symlink) == portage_binmode_make_conf: pass - elif os.path.realpath(portage_make_conf_symlink) == portage_mixedmode_make_conf: - pass else: - print("\nThe system is not set to binmode or mixedmode, refusing to run!\n") + print("\nThe system is not set to binmode, refusing to run!\n") sys.exit(1) # get current mirror information, so we know where we download from (CLI + GUI frontend) -- cgit v1.2.3