mirror of
https://github.com/YunoHost-Apps/jappix_ynh.git
synced 2024-09-03 19:26:19 +02:00
Update install
This commit is contained in:
parent
0f799c50ac
commit
2255220724
1 changed files with 6 additions and 3 deletions
|
@ -1,9 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
source .fonctions
|
||||
source ./_common
|
||||
|
||||
ynh_check_error # Active trap pour arrêter le script si une erreur est détectée.
|
||||
|
||||
app="jappix"
|
||||
|
||||
# Retrieve arguments
|
||||
|
@ -13,8 +15,9 @@ name=$3
|
|||
language=$4
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||
|| exit 1
|
||||
CHECK_DOMAINPATH
|
||||
path=$(ynh_normalize_url_path $path) # Vérifie et corrige la syntaxe du path.
|
||||
CHECK_FINALPATH # Vérifie que le dossier de destination n'est pas déjà utilisé.
|
||||
|
||||
# Retrieve sources
|
||||
wget -q -O jappix.tar.gz "$JAPPIX_SOURCE_URL"
|
||||
|
|
Loading…
Add table
Reference in a new issue