mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
install updated
This commit is contained in:
parent
e9c63b2db0
commit
f849d9304a
1 changed files with 7 additions and 0 deletions
|
@ -8,10 +8,17 @@ app=sogo
|
|||
# Retrieve arguments
|
||||
domain=$1
|
||||
admin=$2
|
||||
path='/SOGo'
|
||||
is_public=$3
|
||||
codename=$(lsb_release -c -s)
|
||||
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl $domain$path -a bolt
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Save app settings
|
||||
sudo yunohost app setting $app admin -v "$admin"
|
||||
sudo yunohost app setting $app is_public -v "$is_public"
|
||||
|
|
Loading…
Reference in a new issue