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

Update upgrade

This commit is contained in:
titoko 2014-04-08 20:58:33 +02:00
parent 4d42362476
commit c5c07cfb2c

View file

@ -1,13 +1,9 @@
#!/bin/bash #!/bin/bash
# Retrieve arguments # Retrieve arguments
domain=$1 domain=$(sudo yunohost app setting jappix domain)
path=$2 path=$(sudo yunohost app setting jappix path)
# Check domain/path availability
if [[ ! $? -eq 0 ]]; then
exit 1
fi
# Remove trailing "/" for next commands # Remove trailing "/" for next commands
path=${path%/} path=${path%/}