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:
parent
4d42362476
commit
c5c07cfb2c
1 changed files with 2 additions and 6 deletions
|
@ -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%/}
|
||||||
|
|
Loading…
Reference in a new issue