mirror of
https://github.com/YunoHost-Apps/cac-proxy_ynh.git
synced 2024-09-03 18:16:07 +02:00
Fixed missing param in change-url
This commit is contained in:
parent
c0631b62ce
commit
8e78dee025
1 changed files with 14 additions and 0 deletions
|
@ -109,6 +109,20 @@ ynh_script_progression --message="Updating .env configuration..."
|
||||||
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
ynh_backup_if_checksum_is_different --file="$final_path/.env"
|
||||||
domain=$new_domain
|
domain=$new_domain
|
||||||
path_url=$new_path
|
path_url=$new_path
|
||||||
|
|
||||||
|
# We must use chrome sandbox for kernels 5.x, 6.x doesn't need it anymore
|
||||||
|
kernel_release=$(uname -r)
|
||||||
|
if [[ $kernel_release == 5.* ]]
|
||||||
|
then
|
||||||
|
bypass_sandbox="TRUE"
|
||||||
|
if [ $install_chromium -eq 1 ]
|
||||||
|
then
|
||||||
|
ynh_print_warn --message="Using non sandboxed chromium as kernel release is less than 6.x"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
bypass_sandbox="FALSE"
|
||||||
|
fi
|
||||||
|
|
||||||
ynh_add_config --template=".env" --destination="$final_path/.env"
|
ynh_add_config --template=".env" --destination="$final_path/.env"
|
||||||
|
|
||||||
# FIXME: this should be handled by the core in the future
|
# FIXME: this should be handled by the core in the future
|
||||||
|
|
Loading…
Reference in a new issue