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

Adding ynh_print_info

This commit is contained in:
yalh76 2020-08-08 01:21:08 +02:00
parent 03b38c0b82
commit 7869bbfe7f

View file

@ -307,6 +307,8 @@ ynh_mongo_remove_db() {
#
#
ynh_install_mongo() {
ynh_print_info --message="Installing MongoDB..."
# Define Mongo Service Name
if [ "$(lsb_release --codename --short)" = "buster" ]; then
ynh_install_extra_app_dependencies --repo="$MONGO_REPO_BUSTER" --package="$MONGO_DEPENDENCIES_BUSTER" --key="$MONGO_KEY_BUSTER"
@ -333,6 +335,8 @@ ynh_install_mongo() {
#
#
ynh_remove_mongo() {
ynh_print_info --message="Removing MongoDB..."
# Only remove the mongodb service if it is not installed.
if ! ynh_package_is_installed --package="mongodb*"
then