debian 12

This commit is contained in:
usmannasir
2025-09-18 02:06:31 +05:00
parent 09b50511cc
commit 578cc1b646

View File

@@ -108,10 +108,10 @@ class InstallCyberPanel:
command, shell = install_utils.get_package_install_command(self.distro, package_name, options)
# InstallCyberPanel always uses verbose mode (no silent option)
if self.distro == ubuntu:
if self.distro == ubuntu or self.distro == debian12:
return install_utils.call(command, self.distro, command, command, 1, 1, os.EX_OSERR, shell)
else:
# For non-Ubuntu, original code didn't pass shell parameter
# For non-Ubuntu/Debian, original code didn't pass shell parameter
return install_utils.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
def manage_service(self, service_name, action="start"):