File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if [ "$1" = "--all" ] || [ "$1" = "-a" ]; then
5757 echo " "
5858
5959 added_count=0
60- while IFS=: read -r username _ uid _ _ home shell ; do
60+ while IFS=: read -r username _ uid _ _ home _ ; do
6161 # Skip if UID < 1000 (system users) or if home doesn't exist
6262 if [ " $uid " -ge 1000 ] && [ -d " $home " ]; then
6363 if add_user_to_group " $username " ; then
Original file line number Diff line number Diff line change @@ -53,13 +53,11 @@ echo ""
5353
5454# Detect PHP-FPM version
5555PHP_FPM_SOCK=" "
56- PHP_VERSION=" "
5756
5857echo " 🔍 Detecting PHP-FPM..."
5958for php_ver in 8.4 8.3 8.2 8.1 8.0 7.4; do
6059 if [ -S " /run/php/php${php_ver} -fpm.sock" ]; then
6160 PHP_FPM_SOCK=" /run/php/php${php_ver} -fpm.sock"
62- PHP_VERSION=" $php_ver "
6361 echo " ✓ Found PHP ${php_ver} FPM"
6462 break
6563 fi
6866# Fallback to generic php-fpm
6967if [ -z " $PHP_FPM_SOCK " ] && [ -S " /run/php/php-fpm.sock" ]; then
7068 PHP_FPM_SOCK=" /run/php/php-fpm.sock"
71- PHP_VERSION=" generic"
7269 echo " ✓ Found generic PHP FPM"
7370fi
7471
You can’t perform that action at this time.
0 commit comments