diff options
| author | yalh76 <yalh@yahoo.com> | 2019-03-19 23:16:12 +0100 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-03-19 23:16:12 +0100 |
| commit | 4a75d7c713e457b4b470a965e546944f9dfd899b (patch) | |
| tree | 94037831d8bb75d25053448b216a57851792d0f6 /scripts/backup | |
| parent | 2f3a368e811d520f64f02bdd33bc05bc5642012f (diff) | |
| download | mastodon_ynh-4a75d7c713e457b4b470a965e546944f9dfd899b.tar.gz mastodon_ynh-4a75d7c713e457b4b470a965e546944f9dfd899b.tar.bz2 mastodon_ynh-4a75d7c713e457b4b470a965e546944f9dfd899b.zip | |
remove _future.sh
Diffstat (limited to 'scripts/backup')
| -rw-r--r-- | scripts/backup | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/scripts/backup b/scripts/backup index 5e57cd7..dbff544 100644 --- a/scripts/backup +++ b/scripts/backup @@ -6,15 +6,9 @@ # IMPORT GENERIC HELPERS #================================================= -if [ ! -e _common.sh ]; then - # Get the _common.sh file if it's not in the current directory - cp ../settings/scripts/_common.sh ./_common.sh - cp ../settings/scripts/_future.sh ./_future.sh - chmod a+rx _common.sh _future.sh -fi -source _common.sh +#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 -source _future.sh #================================================= # MANAGE SCRIPT FAILURE |
