mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Use suggestion of COMPOSER_ALLOW_SUPERUSER=1 from @nicofrand
This commit is contained in:
parent
85109ff840
commit
1768b0bad0
1 changed files with 5 additions and 5 deletions
|
@ -262,7 +262,7 @@ then
|
|||
|
||||
# Update JavaScript dependencies
|
||||
pushd "$final_path"
|
||||
./bin/update.sh --version="?" -y <<< ""
|
||||
COMPOSER_ALLOW_SUPERUSER=1 ./bin/update.sh --version="?" -y <<< ""
|
||||
|
||||
# Store the config file checksum into the app settings
|
||||
ynh_store_file_checksum --file="$final_path/config/config.inc.php"
|
||||
|
@ -275,7 +275,7 @@ then
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating $app core..." --weight=4
|
||||
|
||||
ynh_exec_warn ./bin/update.sh --version=$oldversion -y
|
||||
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn ./bin/update.sh --version=$oldversion -y
|
||||
popd
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue