aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authorJean-Baptiste Holcroft <jean-baptiste@holcroft.fr>2018-04-06 19:58:23 +0200
committerJean-Baptiste Holcroft <jean-baptiste@holcroft.fr>2018-04-06 19:58:23 +0200
commitcfce1f3c1942bb52150137169ddf6be8a5dc1686 (patch)
tree7387c0c94664bce69106e9e51301e4124de5b4f3 /scripts/restore
parent1d7613889c5e0ef976e3ed63e4ad82516508f5a9 (diff)
downloadmastodon_ynh-cfce1f3c1942bb52150137169ddf6be8a5dc1686.tar.gz
mastodon_ynh-cfce1f3c1942bb52150137169ddf6be8a5dc1686.tar.bz2
mastodon_ynh-cfce1f3c1942bb52150137169ddf6be8a5dc1686.zip
Rename .fonctions to _common.sh
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore8
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