aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
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