1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Check .fonctions

This commit is contained in:
nemsia 2017-05-07 00:23:22 +02:00 committed by GitHub
parent 39cde5408c
commit 7529cf6210

View file

@ -3,6 +3,12 @@
# 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 app helpers
source /usr/share/yunohost/helpers