mirror of
https://github.com/YunoHost-Apps/borgserver_ynh.git
synced 2024-09-03 20:36:20 +02:00
32 lines
886 B
Bash
Executable file
32 lines
886 B
Bash
Executable file
#!/bin/bash
|
|
|
|
#=================================================
|
|
# GENERIC START
|
|
#=================================================
|
|
# IMPORT GENERIC HELPERS
|
|
#=================================================
|
|
|
|
source _common.sh
|
|
source /usr/share/yunohost/helpers
|
|
|
|
#=================================================
|
|
# LOAD SETTINGS
|
|
#=================================================
|
|
|
|
app=$YNH_APP_INSTANCE_NAME
|
|
ssh_user=$(ynh_app_setting_get $app ssh_user)
|
|
|
|
#=================================================
|
|
# REMOVE DEPENDENCIES
|
|
#=================================================
|
|
ynh_remove_app_dependencies
|
|
|
|
#=================================================
|
|
# REMOVE BACKPORTS
|
|
#=================================================
|
|
ynh_remove_backports
|
|
|
|
#=================================================
|
|
# REMOVE FILES
|
|
#=================================================
|
|
userdel $ssh_user
|