diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-24 14:14:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-24 14:14:53 +0100 |
commit | 3e34420beb774d76d1f3e6b4ed0efd2c3c5b3e65 (patch) | |
tree | 6405c63e66bc025391fb8cab427e86e3a3586950 /src/backend/libsisyphus.py | |
parent | 4fa81a14d7e657e3976c26c64748b5963a55c56d (diff) |
restrict sisyphus to binmode only
Diffstat (limited to 'src/backend/libsisyphus.py')
-rwxr-xr-x | src/backend/libsisyphus.py | 5 |
1 files changed, 1 insertions, 4 deletions
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) |