1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tandoor_ynh.git synced 2024-09-03 20:35:56 +02:00
This commit is contained in:
Éric Gaspar 2024-07-22 11:26:51 +02:00
parent 5f2e3be153
commit c76aa2603e
3 changed files with 4 additions and 1 deletions

View file

@ -7,7 +7,6 @@
nodejs_version=16
timezone="$(cat /etc/timezone)"
version=$(ynh_app_upstream_version)
#=================================================
# PERSONAL HELPERS

View file

@ -52,6 +52,8 @@ ynh_add_config --template="dot_env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown "$app:$app" "$install_dir/.env"
version=$(ynh_app_upstream_version)
ynh_add_config --template="version.py" --destination="$install_dir/source/recipes/version.py"
chmod 400 "$install_dir/source/recipes/version.py"

View file

@ -47,6 +47,8 @@ ynh_add_config --template="dot_env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown "$app:$app" "$install_dir/.env"
version=$(ynh_app_upstream_version)
ynh_add_config --template="version.py" --destination="$install_dir/source/recipes/version.py"
chmod 400 "$install_dir/source/recipes/version.py"