mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-12-26 23:26:47 +01:00
Add Kali Linux 2025.x detection to installer
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user