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

Update install

This commit is contained in:
Krakinou 2018-11-20 23:50:48 +01:00 committed by GitHub
parent 82929a1e80
commit 702dfe3ade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,11 +15,14 @@ postfix=/etc/postfix/main.cf
cronline="0 */2 * * * www-data cd $final_path/www/; /usr/bin/php index.php > /dev/null 2>&1"
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a $app
# Check web path availability
ynh_webpath_available $domain $path
#sudo yunohost app checkurl $domain$path -a $app
if [[ ! $? -eq 0 ]]; then
exit 1
fi
# Register (book) web path
ynh_webpath_register $app $domain $path
# Check user
sudo yunohost user list --json | grep -q "\"username\": \"$admin\""