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

Update scripts/upgrade

Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
Éric Gaspar 2021-01-14 08:36:16 +01:00 committed by GitHub
parent ad1ebec045
commit 504697a984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ fi
ynh_app_setting_set --app=$app --key=is_public --value=$is_public
# Save the port used if not present
if ! [[ "$port" ]]; then
if [ -z "$port" ]; then
port=8065
ynh_app_setting_set --app=$app --key=port --value=$port
fi