mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
Fix yunohost service status
This commit is contained in:
parent
b3a257d7e0
commit
bf04976107
2 changed files with 3 additions and 3 deletions
|
@ -33,12 +33,12 @@ then
|
||||||
ynh_script_progression --message="Removing $app service integration..."
|
ynh_script_progression --message="Removing $app service integration..."
|
||||||
yunohost service remove $app
|
yunohost service remove $app
|
||||||
fi
|
fi
|
||||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
if ynh_exec_warn_less yunohost service status $app-ui >/dev/null
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing $app-ui service integration..."
|
ynh_script_progression --message="Removing $app-ui service integration..."
|
||||||
yunohost service remove $app-ui
|
yunohost service remove $app-ui
|
||||||
fi
|
fi
|
||||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
if ynh_exec_warn_less yunohost service status $app-pict-rs >/dev/null
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing $app-pict-rs service integration..."
|
ynh_script_progression --message="Removing $app-pict-rs service integration..."
|
||||||
yunohost service remove $app-pict-rs
|
yunohost service remove $app-pict-rs
|
||||||
|
|
|
@ -78,7 +78,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
# Removing previously installed iframely
|
# Removing previously installed iframely
|
||||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
if ynh_exec_warn_less yunohost service status $app-iframely >/dev/null
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing $app-iframely service integration..."
|
ynh_script_progression --message="Removing $app-iframely service integration..."
|
||||||
yunohost service remove $app-iframely
|
yunohost service remove $app-iframely
|
||||||
|
|
Loading…
Reference in a new issue