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/remove | |
| 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/remove')
| -rw-r--r-- | scripts/remove | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/remove b/scripts/remove index 1b2c405..6683c07 100644 --- a/scripts/remove +++ b/scripts/remove @@ -3,13 +3,13 @@ # Exit on command errors and treat unset variables as an error set -u -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 -source .fonctions # Loads the generic functions usually used in the script +source _common.sh # Loads the generic functions usually used in the script # Source app helpers source /usr/share/yunohost/helpers |
