mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
[fix] Testing dpkg --correct-versions
This commit is contained in:
parent
728377daee
commit
87a8db86e4
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ fi
|
|||
# Downward compatibility: remove the v before version number
|
||||
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
|
||||
if [[ $(dpkg --compare-versions $old_flarum_version lt $flarum_version) ]]; then
|
||||
# Upgrade Flarum
|
||||
exec_composer $app $final_path "require -n flarum/core:'$flarum_version'"
|
||||
pushd $final_path
|
||||
|
|
Loading…
Add table
Reference in a new issue