diff --git a/scripts/remove b/scripts/remove index 24167b6..eef6b33 100644 --- a/scripts/remove +++ b/scripts/remove @@ -3,6 +3,11 @@ # Exit on command errors and treat unset variables as an error set -u +if [ ! -e .fonctions ]; then + # Get file fonction if not been to the current directory + sudo cp ../settings/scripts/.fonctions ./.fonctions + sudo chmod a+rx .fonctions +fi source .fonctions # Loads the generic functions usually used in the script source /usr/share/yunohost/helpers # Source app helpers