mirror of
https://github.com/YunoHost-Apps/pepettes_ynh.git
synced 2024-09-03 19:56:35 +02:00
[fix] prices config
This commit is contained in:
parent
f8afb2a937
commit
d2edbdc428
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ ynh_store_file_checksum --file="$final_path/gunicorn.py"
|
||||||
ynh_store_file_checksum --file="$final_path/settings.py"
|
ynh_store_file_checksum --file="$final_path/settings.py"
|
||||||
for price in $(echo $prices | sed "s/,/ /"); do
|
for price in $(echo $prices | sed "s/,/ /"); do
|
||||||
frequency=$(echo $price | cut -d/ -f1)
|
frequency=$(echo $price | cut -d/ -f1)
|
||||||
currency=$(echo $price | cut -d/ -f1)
|
currency=$(echo $price | cut -d/ -f2)
|
||||||
price_id=$(echo $price | cut -d/ -f1)
|
price_id=$(echo $price | cut -d/ -f3)
|
||||||
echo "DONATION['$frequency']['$currency'] = '$price_id'" >> "$final_path/settings.py"
|
echo "DONATION['$frequency']['$currency'] = '$price_id'" >> "$final_path/settings.py"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue