1
0
Fork 0
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:
Salamandar 2024-01-26 23:10:47 +01:00
parent 85109ff840
commit 1768b0bad0

View file

@ -262,7 +262,7 @@ then
# Update JavaScript dependencies # Update JavaScript dependencies
pushd "$final_path" 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 # Store the config file checksum into the app settings
ynh_store_file_checksum --file="$final_path/config/config.inc.php" 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_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 popd
fi fi