Update phalcon.sh

pull/620/head
Mr Chen 10 months ago
parent efa9890019
commit 995fa234d9
  1. 12
      plugins/php-apt/versions/common/phalcon.sh

@ -18,10 +18,10 @@ LIBNAME=phalcon
LIBV=0 LIBV=0
if [ `echo "$version > 7.4"|bc` -eq 1 ];then # if [ `echo "$version > 7.4"|bc` -eq 1 ];then
echo "I won't support it" # echo "I won't support it"
exit 0 # exit 0
fi # fi
CMD='apt ' CMD='apt '
if [ "$actionType" == 'install' ];then if [ "$actionType" == 'install' ];then
@ -46,6 +46,10 @@ elif [[ "$version" == '8.0' ]]; then
CMD="${CMD}phalcon4" CMD="${CMD}phalcon4"
elif [[ "$version" == '8.1' ]]; then elif [[ "$version" == '8.1' ]]; then
CMD="${CMD}phalcon4" CMD="${CMD}phalcon4"
elif [[ "$version" == '8.2' ]]; then
CMD="${CMD}phalcon4"
elif [[ "$version" == '8.3' ]]; then
CMD="${CMD}phalcon4"
fi fi
$CMD $CMD

Loading…
Cancel
Save