From 70fb38d23c32232272d2514a99de7bbc7cee94c2 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Thu, 18 Sep 2025 12:42:00 +0500 Subject: [PATCH] debian 12 --- install/install.py | 2 +- install/installCyberPanel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install/install.py b/install/install.py index 96ad85cf6..0d2b69ab3 100644 --- a/install/install.py +++ b/install/install.py @@ -81,7 +81,7 @@ class preFlightsChecks: def get_service_name(self, service): """Get the correct service name for the current distribution""" service_map = { - 'pdns': 'pdns-server' if self.distro == debian12 else 'pdns' + 'pdns': 'pdns' } return service_map.get(service, service) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 30b53f27c..685a1baef 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -119,7 +119,7 @@ class InstallCyberPanel: service_map = { 'mariadb': 'mariadb', 'pureftpd': 'pure-ftpd-mysql' if self.distro == ubuntu else 'pure-ftpd', - 'pdns': 'pdns-server' if self.distro == debian12 else 'pdns' + 'pdns': 'pdns' } actual_service = service_map.get(service_name, service_name)