Skip to content

Commit

Permalink
ncp-update-nc: Fix nc version check before php upgrade (include == 24…
Browse files Browse the repository at this point in the history
….0.0)

Signed-off-by: thecalcaholic <[email protected]>
  • Loading branch information
theCalcaholic committed Aug 29, 2022
1 parent 33479d5 commit bfe85dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ncp-update-nc
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ rm -rf /var/www/nextcloud/apps/previewgenerator
ln -snf "${NCPREV}" /var/www/nextcloud/apps/previewgenerator


if is_more_recent_than "${NCVER}" "24.0.0" && is_more_recent_than "8.1.0" "${PHPVER}.0"
if ! is_more_recent_than "24.0.0" "${NCVER}" && is_more_recent_than "8.1.0" "${PHPVER}.0"
then
(
echo "Upgrading PHP..."
Expand Down

0 comments on commit bfe85dd

Please sign in to comment.