diff --git a/conf/manage.py b/conf/manage.py index a85e3b1..9962cbd 100755 --- a/conf/manage.py +++ b/conf/manage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!__FINAL_HOME_PATH__/venv/bin/python import os import sys diff --git a/scripts/install b/scripts/install index de6020a..a8934d6 100755 --- a/scripts/install +++ b/scripts/install @@ -135,6 +135,8 @@ ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_f ynh_store_file_checksum --file="$gunicorn_conf" cp ../conf/manage.py "$final_path/manage.py" +ynh_replace_string --match_string="__FINAL_HOME_PATH__" --replace_string="$final_path" --target_file="$final_path/manage.py" +ynh_store_file_checksum --file="$final_path/manage.py" chmod +x "$final_path/manage.py" settings="$final_path/settings.py"