Roundcube update error

en
bug
#1

I tried to update roundcube today stopped with error. Log found here:

#2

Sounds related to :

 WARNING -   The HOME or COMPOSER_HOME environment variable must be set for composer to run correctly

I recall that I saw this at least once in another app I believe … Maybe people from the apps group now more about this :confused:

#3

No big changes on that line since the previous version.

Don’t know why suddenly COMPOSER_HOME would be unset.

#4

Manage arguments with getopts
ynh_handle_getopts_args “$@”
workdir="${workdir:-$final_path}"
Is the “-” before final path right?
Just a wild guess…

#5

Discourse hide the real link… The link to the line I was showing is that !

To answer your specific question @mr_smithers, :- means if workdir is empty, use final_path instead.

#6

Thanks for the clarification.
The error disappeared in the meantime…