1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

Update install

This commit is contained in:
Rafi59 2017-06-17 12:13:14 +02:00 committed by GitHub
parent 8f08dee235
commit f46cad7a26

View file

@ -28,6 +28,14 @@ privateinstance=$YNH_APP_ARG_PRIVATEINSTANCE
# Load common variables and helpers
source ./_common.sh
#=================================================
# CHECK IF THE APP CAN BE INSTALLED WITH THIS ARGS
#=================================================
path_url=$(ynh_normalize_url_path $path_url) # Vérifie et corrige la syntaxe du path.
CHECK_DOMAINPATH # Vérifie la disponibilité du path et du domaine.
CHECK_FINALPATH # Vérifie que le dossier de destination n'est pas déjà utilisé.
# Check that the options are compatible
if [ $is_public = "Yes" ]; then
if [ $privateinstance = "Yes" ] ; then