diff options
| author | nemsia <nemsia@nemsia.org> | 2017-05-07 00:23:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-07 00:23:22 +0200 |
| commit | 7529cf6210d384cfeb9310e9ca04c8c677ab35ec (patch) | |
| tree | af9c06d220424525ed71339ef30a2287b4ad568b /scripts/remove | |
| parent | 39cde5408c542e5a643b662efcfe58c02d728679 (diff) | |
| download | mastodon_ynh-7529cf6210d384cfeb9310e9ca04c8c677ab35ec.tar.gz mastodon_ynh-7529cf6210d384cfeb9310e9ca04c8c677ab35ec.tar.bz2 mastodon_ynh-7529cf6210d384cfeb9310e9ca04c8c677ab35ec.zip | |
Check .fonctions
Diffstat (limited to 'scripts/remove')
| -rw-r--r-- | scripts/remove | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/remove b/scripts/remove index 373d028..1b2c405 100644 --- a/scripts/remove +++ b/scripts/remove @@ -3,6 +3,12 @@ # Exit on command errors and treat unset variables as an error set -u +if [ ! -e .fonctions ]; then + # Get file fonction if not been to the current directory + sudo cp ../settings/scripts/.fonctions ./.fonctions + sudo chmod a+rx .fonctions +fi + source .fonctions # Loads the generic functions usually used in the script # Source app helpers source /usr/share/yunohost/helpers |
