Skip to content

Commit

Permalink
Merge pull request #520 from BudBundi/master
Browse files Browse the repository at this point in the history
Fix php install for portal on raspian buster
  • Loading branch information
jprochazka authored Jun 14, 2024
2 parents dc09675 + 56d431a commit 099766c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bash/portal/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ DISTRO_PHP_VERSION="5"
case $RECEIVER_OS_DISTRIBUTION in
debian|raspbian)
if [[ $RECEIVER_OS_RELEASE -ge "9" ]]; then DISTRO_PHP_VERSION="7.0"; fi
if [[ $RECEIVER_OS_RELEASE -ge "10" ]]; then DISTRO_PHP_VERSION="7.3"; fi
;;
ubuntu)
if [ `bc -l <<< "$RECEIVER_OS_RELEASE >= 16.04"` -eq 1 ]; then DISTRO_PHP_VERSION="7.0"; fi
Expand Down

0 comments on commit 099766c

Please sign in to comment.