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:
parent
8bb3c404d4
commit
f6b58cae23
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue