diff --git a/debian/resources/php.sh b/debian/resources/php.sh index 6dc5644..b1e93bd 100755 --- a/debian/resources/php.sh +++ b/debian/resources/php.sh @@ -21,14 +21,13 @@ if [ ."$os_name" = ."Ubuntu" ]; then LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php fi elif [ ."$cpu_architecture" = ."arm" ]; then - #Pi2 and Pi3 Raspbian - #Odroid + #Pi2 and Pi3 Raspbian, #Odroid #if [ ."$os_codename" = ."stretch" ]; then - # php_version=7.2 - #else - # php_version= + # php_version=7.0 #fi - php_version= + if [ ."$os_codename" = ."buster" ]; then + php_version=7.3 + fi else #10.x - buster #9.x - stretch @@ -116,6 +115,9 @@ fi if [ ."$php_version" = ."7.2" ]; then systemctl restart php7.2-fpm fi +if [ ."$php_version" = ."7.3" ]; then + systemctl restart php7.3-fpm +fi #init.d #/usr/sbin/service php5-fpm restart