diff --git a/install/install.py b/install/install.py index a8c0080f5..b4f4d6c5d 100755 --- a/install/install.py +++ b/install/install.py @@ -1572,21 +1572,21 @@ $cfg['Servers'][$i]['LogoutURL'] = 'phpmyadminsignin.php?logout'; result = subprocess.run('uname -a', capture_output=True, text=True, shell=True) if result.stdout.find('aarch64') == -1: - lscpdSelection = 'lscpd-0.3.1' + lscpdSelection = 'lscpd-0.4.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' + lscpdSelection = 'lscpd.0.4.1' else: - lscpdSelection = 'lscpd.aarch64' + lscpdSelection = 'lscpd.aarch64.0.4.1' except: - lscpdSelection = 'lscpd-0.3.1' + lscpdSelection = 'lscpd-0.4.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' + lscpdSelection = 'lscpd.0.4.1' command = f'cp -f /usr/local/CyberCP/{lscpdSelection} /usr/local/lscp/bin/{lscpdSelection}' diff --git a/lscpd.0.4.1 b/lscpd.0.4.1 new file mode 100644 index 000000000..6736a6965 Binary files /dev/null and b/lscpd.0.4.1 differ diff --git a/lscpd.aarch64.0.4.1 b/lscpd.aarch64.0.4.1 new file mode 100644 index 000000000..f938155b8 Binary files /dev/null and b/lscpd.aarch64.0.4.1 differ diff --git a/plogical/upgrade.py b/plogical/upgrade.py index db6ea97a7..05738c3e8 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2240,21 +2240,21 @@ CREATE TABLE `websiteFunctions_backupsv2` (`id` integer AUTO_INCREMENT NOT NULL result = subprocess.run('uname -a', capture_output=True, text=True, shell=True) if result.stdout.find('aarch64') == -1: - lscpdSelection = 'lscpd-0.3.1' + lscpdSelection = 'lscpd-0.4.1' if os.path.exists(Upgrade.UbuntuPath): result = open(Upgrade.UbuntuPath, 'r').read() if result.find('22.04') > -1: - lscpdSelection = 'lscpd.0.4.0' + lscpdSelection = 'lscpd.0.4.1' else: - lscpdSelection = 'lscpd.aarch64' + lscpdSelection = 'lscpd.aarch64.0.4.1' except: - lscpdSelection = 'lscpd-0.3.1' + lscpdSelection = 'lscpd-0.4.1' if os.path.exists(Upgrade.UbuntuPath): result = open(Upgrade.UbuntuPath, 'r').read() if result.find('22.04') > -1: - lscpdSelection = 'lscpd.0.4.0' + lscpdSelection = 'lscpd.0.4.1' command = f'cp -f /usr/local/CyberCP/{lscpdSelection} /usr/local/lscp/bin/{lscpdSelection}' Upgrade.executioner(command, command, 0)