1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

fix upgrade

This commit is contained in:
Kay0u 2020-01-25 18:54:13 +07:00
parent 8bb3c404d4
commit f6b58cae23
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -131,6 +131,8 @@ fi
ynh_backup_if_checksum_is_different --file="$final_path/config/jupyterhub_config.py" ynh_backup_if_checksum_is_different --file="$final_path/config/jupyterhub_config.py"
mkdir -p "$final_path/config"
cp -f ../conf/jupyterhub_config.py $final_path/config/jupyterhub_config.py cp -f ../conf/jupyterhub_config.py $final_path/config/jupyterhub_config.py
ynh_replace_string --match_string="__URL__" --replace_string="https://$domain" --target_file="$final_path/config/jupyterhub_config.py" ynh_replace_string --match_string="__URL__" --replace_string="https://$domain" --target_file="$final_path/config/jupyterhub_config.py"
ynh_replace_string --match_string="__PATH__" --replace_string="${path_url%/}" --target_file="$final_path/config/jupyterhub_config.py" ynh_replace_string --match_string="__PATH__" --replace_string="${path_url%/}" --target_file="$final_path/config/jupyterhub_config.py"