diff --git a/install/install.py b/install/install.py index 5ed8efb8c..bd3388187 100755 --- a/install/install.py +++ b/install/install.py @@ -1549,16 +1549,13 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; ### - if subprocess.check_output('uname -a').decode("utf-8").find("aarch64") == -1: - lscpdPath = '/usr/local/lscp/bin/lscpd' + lscpdPath = '/usr/local/lscp/bin/lscpd' - lscpdSelection = 'lscpd-0.3.1' - if os.path.exists('/etc/lsb-release'): - result = open('/etc/lsb-release', 'r').read() - if result.find('22.04') > -1: - lscpdSelection = 'lscpd.0.4.0' - else: - lscpdSelection = 'lscpd.aarch64' + lscpdSelection = 'lscpd-0.3.1' + if os.path.exists('/etc/lsb-release'): + result = open('/etc/lsb-release', 'r').read() + if result.find('22.04') > -1: + lscpdSelection = 'lscpd.0.4.0' command = f'cp -f /usr/local/CyberCP/{lscpdSelection} /usr/local/lscp/bin/{lscpdSelection}'