diff --git a/scripts/install b/scripts/install index 97f9ce8..1e50915 100755 --- a/scripts/install +++ b/scripts/install @@ -152,8 +152,8 @@ ynh_store_file_checksum --file="$final_path/gunicorn.py" ynh_store_file_checksum --file="$final_path/settings.py" for price in $(echo $prices | sed "s/,/ /"); do frequency=$(echo $price | cut -d/ -f1) - currency=$(echo $price | cut -d/ -f1) - price_id=$(echo $price | cut -d/ -f1) + currency=$(echo $price | cut -d/ -f2) + price_id=$(echo $price | cut -d/ -f3) echo "DONATION['$frequency']['$currency'] = '$price_id'" >> "$final_path/settings.py" done