aboutsummaryrefslogtreecommitdiff
path: root/scripts/remove
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/remove
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/remove')
-rw-r--r--scripts/remove8
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