mirror of
https://github.com/YunoHost-Apps/cac-proxy_ynh.git
synced 2024-09-03 18:16:07 +02:00
fix upgrade missing key
This commit is contained in:
parent
d2126406d8
commit
fa2b2f973f
1 changed files with 6 additions and 2 deletions
|
@ -25,11 +25,15 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# Missing settings ?
|
||||
if [ -z "${public_key+x}" ]; then
|
||||
# Missing setting ?
|
||||
public_key=""
|
||||
ynh_app_setting_set --app="$app" --key=public_key --value="$public_key"
|
||||
fi
|
||||
if [ -z "${install_chromium+x}" ]; then
|
||||
install_chromium="false"
|
||||
ynh_app_setting_set --app="$app" --key=install_chromium --value="$install_chromium"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# INSTALL NODEJS
|
||||
|
@ -70,7 +74,7 @@ fi
|
|||
#=================================================
|
||||
# Install chromium
|
||||
#=================================================
|
||||
if [ $install_chromium -eq 1 ]; then
|
||||
if [ "$install_chromium" -eq 1 ]; then
|
||||
ynh_script_progression --message="Upgrading Chromium..." --weight=8
|
||||
|
||||
# Remove old versions of chrome
|
||||
|
|
Loading…
Reference in a new issue