mirror of
https://github.com/YunoHost/test_apps.git
synced 2024-09-03 20:06:29 +02:00
Implement dummy backup/restore script for permission app to be able to test backup/restore of permissions...
This commit is contained in:
parent
506c17457f
commit
e4068bb619
2 changed files with 22 additions and 0 deletions
11
permissions_app_ynh/scripts/backup
Normal file
11
permissions_app_ynh/scripts/backup
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
|
||||
# Source YunoHost helpers
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
# Stop script if errors
|
||||
ynh_abort_if_errors
|
11
permissions_app_ynh/scripts/restore
Normal file
11
permissions_app_ynh/scripts/restore
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# GENERIC START
|
||||
#=================================================
|
||||
|
||||
# Source YunoHost helpers
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
# Stop script if errors
|
||||
ynh_abort_if_errors
|
Loading…
Reference in a new issue