diff options
| author | nemsia <nemsia@nemsia.org> | 2018-04-06 21:21:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-06 21:21:22 +0200 |
| commit | 52ea3880731fe09d724ac0b831605583682068cf (patch) | |
| tree | 35f1d8c067914f6a05fc6979056a5dd9dc2d8c7d /scripts/restore | |
| parent | 1d7613889c5e0ef976e3ed63e4ad82516508f5a9 (diff) | |
| parent | 18b69b2fdfbd1178334b5ea5a3c9e75fb439a10f (diff) | |
| download | mastodon_ynh-52ea3880731fe09d724ac0b831605583682068cf.tar.gz mastodon_ynh-52ea3880731fe09d724ac0b831605583682068cf.tar.bz2 mastodon_ynh-52ea3880731fe09d724ac0b831605583682068cf.zip | |
Merge pull request #74 from Jibec/master
Review and beginning of refactoring
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/restore b/scripts/restore index 30666df..8ca0b5a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -4,13 +4,13 @@ # Exit on command errors and treat unset variables as an error set -eu -if [ ! -e .fonctions ]; then +if [ ! -e _common.sh ]; then # Get file fonction if not been to the current directory - sudo cp ../settings/scripts/.fonctions ./.fonctions - sudo chmod a+rx .fonctions + sudo cp ../settings/scripts/_common.sh ./_common.sh + sudo chmod a+rx _common.sh fi # Loads the generic functions usually used in the script -source .fonctions +source _common.sh # Source app helpers source /usr/share/yunohost/helpers |
