1
0
Fork 0
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:
Matthew Frost 2016-03-18 20:26:23 +01:00
parent e9c63b2db0
commit f849d9304a

View file

@ -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"