diff options
| author | Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr> | 2018-04-06 19:58:23 +0200 |
|---|---|---|
| committer | Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr> | 2018-04-06 19:58:23 +0200 |
| commit | cfce1f3c1942bb52150137169ddf6be8a5dc1686 (patch) | |
| tree | 7387c0c94664bce69106e9e51301e4124de5b4f3 /scripts/backup | |
| parent | 1d7613889c5e0ef976e3ed63e4ad82516508f5a9 (diff) | |
| download | mastodon_ynh-cfce1f3c1942bb52150137169ddf6be8a5dc1686.tar.gz mastodon_ynh-cfce1f3c1942bb52150137169ddf6be8a5dc1686.tar.bz2 mastodon_ynh-cfce1f3c1942bb52150137169ddf6be8a5dc1686.zip | |
Rename .fonctions to _common.sh
Diffstat (limited to 'scripts/backup')
| -rw-r--r-- | scripts/backup | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/backup b/scripts/backup index e4a5bba..ffcac0e 100644 --- a/scripts/backup +++ b/scripts/backup @@ -3,13 +3,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 |
