1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/timemachine_ynh.git synced 2024-09-03 20:26:33 +02:00
This commit is contained in:
Éric Gaspar 2023-12-21 19:11:13 +01:00
parent 14419745d2
commit cbbd462d5c
2 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,7 @@ source /usr/share/yunohost/helpers
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status smbd >/dev/null

View file

@ -6,10 +6,11 @@
# IMPORT GENERIC HELPERS
#=================================================
# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
password=$(ynh_app_setting_get --app=$app --key=password)
#=================================================
# RESTORE THE DATA DIRECTORY
#=================================================