1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flarum_ynh.git synced 2024-09-03 18:36:24 +02:00

[fix] Forgot ; after if statement

This commit is contained in:
tituspijean 2018-09-03 20:37:35 +02:00
parent 6523a2d31d
commit 728377daee

View file

@ -111,7 +111,7 @@ fi
#=================================================
# Downward compatibility: remove the v before version number
if [[ $old_flarum_version == "v*" ]] then $old_flarum_version = ${old_flarum_version:1}; fi
if [[ $old_flarum_version == "v*" ]]; then $old_flarum_version = ${old_flarum_version:1}; fi
# Check if upgrade of Flarum core is needed
if [[ dpkg --compare-version $old_flarum_version lt $flarum_version ]]; then
# Upgrade Flarum