diff --git a/conf/message b/conf/message index ee82efa..5f09014 100644 --- a/conf/message +++ b/conf/message @@ -1,5 +1,5 @@ Bitwarden was successfully installed :) -Please open https://__DOMAIN__/admin +Please open https://__DOMAIN____PATH_URL__/admin The admin token is: __ADMIN_TOKEN__ You will be able to invit users to your bitwarden instance. If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/bitwarden_ynh diff --git a/scripts/install b/scripts/install index 9f6e0c4..acf2a6b 100644 --- a/scripts/install +++ b/scripts/install @@ -242,6 +242,7 @@ ynh_print_info --message="Sending a readme for the admin..." ynh_replace_string --match_string="__ADMIN_MAIL__" --replace_string="$admin_mail" --target_file="../conf/message" ynh_replace_string --match_string="__ADMIN_TOKEN__" --replace_string="$admin_token" --target_file="../conf/message" ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/message" +ynh_replace_string --match_string="__PATH_URL__" --replace_string="$path_url" --target_file="../conf/message" ynh_send_readme_to_admin --app_message="../conf/message" --recipients="$admin_mail" --type='install'