mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
Update upgrade
This commit is contained in:
parent
752038f1f8
commit
b017f2a795
1 changed files with 3 additions and 3 deletions
|
@ -44,18 +44,18 @@ if [ -f $install_dir/.htconfig.php ]; then
|
|||
ynh_secure_remove "$install_dir/.htconfig.php"
|
||||
fi
|
||||
|
||||
if [ -f /etc/cron.d/$app ]; then
|
||||
if [ -f "/etc/cron.d/$app" ]; then
|
||||
ynh_secure_remove --file="/etc/cron.d/$app"
|
||||
fi
|
||||
|
||||
# If admin_mail setting doesn't exist, create it
|
||||
if [ -z $email ]; then
|
||||
if [ -z "${email:-}" ]; then
|
||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||
ynh_app_setting_set --app=$app --key=email --value=$email
|
||||
fi
|
||||
|
||||
# If language setting doesn't exist, create it
|
||||
if [ -z $language ]; then
|
||||
if [ -z "${language:-}" ]; then
|
||||
language=en
|
||||
ynh_app_setting_set --app=$app --key=language --value=$language
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue