1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Bypass composer issue and GitHub Rate Limit https://developer.github.com/v3/#rate-limiting

This commit is contained in:
yalh76 2020-03-25 03:12:37 +01:00
parent 03b9e54dc2
commit 19457af216

View file

@ -156,6 +156,11 @@ ynh_print_info --message="Updating php dependencies..."
chown -R "$app": "$final_path"
# Bypass composer issue and GitHub Rate Limit https://developer.github.com/v3/#rate-limiting
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
sleep 3600
fi
# Fix Google Recaptcha removal
ynh_secure_remove --file="$final_path/bootstrap/cache"
mkdir -p "$final_path/bootstrap/cache"