From e4068bb6198dcf5b5ddd8fee82801f9253cb3ec8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 13 Sep 2019 19:06:27 +0200 Subject: [PATCH] Implement dummy backup/restore script for permission app to be able to test backup/restore of permissions... --- permissions_app_ynh/scripts/backup | 11 +++++++++++ permissions_app_ynh/scripts/restore | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 permissions_app_ynh/scripts/backup create mode 100644 permissions_app_ynh/scripts/restore diff --git a/permissions_app_ynh/scripts/backup b/permissions_app_ynh/scripts/backup new file mode 100644 index 0000000..ea57cd3 --- /dev/null +++ b/permissions_app_ynh/scripts/backup @@ -0,0 +1,11 @@ +#!/bin/bash + +#================================================= +# GENERIC START +#================================================= + +# Source YunoHost helpers +source /usr/share/yunohost/helpers + +# Stop script if errors +ynh_abort_if_errors diff --git a/permissions_app_ynh/scripts/restore b/permissions_app_ynh/scripts/restore new file mode 100644 index 0000000..ea57cd3 --- /dev/null +++ b/permissions_app_ynh/scripts/restore @@ -0,0 +1,11 @@ +#!/bin/bash + +#================================================= +# GENERIC START +#================================================= + +# Source YunoHost helpers +source /usr/share/yunohost/helpers + +# Stop script if errors +ynh_abort_if_errors