Add Kali Linux 2025.x detection to installer

This commit is contained in:
billz
2025-11-30 14:42:38 +01:00
parent 1ca57260e1
commit 1afb980ce5

View File

@@ -158,7 +158,7 @@ function _get_linux_distro() {
# Sets php package option based on Linux version, abort if unsupported distro # Sets php package option based on Linux version, abort if unsupported distro
function _set_php_package() { function _set_php_package() {
case $RELEASE in case $RELEASE in
13) # Debian 13 trixie 13|2025.*) # Debian 13 trixie, Kali Linux 2025
php_package="php8.4-fpm" php_package="php8.4-fpm"
phpiniconf="/etc/php/8.4/fpm/php.ini" ;; phpiniconf="/etc/php/8.4/fpm/php.ini" ;;
23.05|12*) # Debian 12 & Armbian 23.05 23.05|12*) # Debian 12 & Armbian 23.05
@@ -246,7 +246,7 @@ function _install_dependencies() {
else else
echo "${php_package} will be installed from the main deb sources list" echo "${php_package} will be installed from the main deb sources list"
fi fi
if [ ${OS,,} = "debian" ] || [ ${OS,,} = "ubuntu" ]; then if [ ${OS,,} = "debian" ] || [ ${OS,,} = "ubuntu" || ${OS,,} = "kali" ]; then
dhcpcd_package="dhcpcd5" dhcpcd_package="dhcpcd5"
iw_package="iw" iw_package="iw"
rsync_package="rsync" rsync_package="rsync"