mirror of
https://github.com/YunoHost-Apps/hotspot_ynh.git
synced 2024-09-03 19:25:53 +02:00
fix service_name if empty
This commit is contained in:
parent
f7c255a9cf
commit
3757b70454
1 changed files with 5 additions and 0 deletions
|
@ -48,6 +48,11 @@ elif [ $firmware_nonfree = "no" ]; then
|
|||
ynh_app_setting_set $app firmware_nonfree $firmware_nonfree
|
||||
fi
|
||||
|
||||
if [ -z $service_name ]; then
|
||||
service_name="ynh-hotspot"
|
||||
ynh_app_setting_set $app service_name $service_name
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue