mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Remove unecessary log messages
This commit is contained in:
parent
93d0fbc4cf
commit
7523ef3aed
4 changed files with 0 additions and 7 deletions
|
@ -225,7 +225,6 @@ ynh_mysql_remove_db () {
|
|||
|
||||
local mysql_root_password=$(sudo cat $MYSQL_ROOT_PWD_FILE)
|
||||
if mysqlshow -u root -p$mysql_root_password | grep -q "^| $db_name"; then # Check if the database exists
|
||||
ynh_print_info --message="Removing database $db_name"
|
||||
ynh_mysql_drop_db $db_name # Remove the database
|
||||
else
|
||||
ynh_print_warn --message="Database $db_name not found"
|
||||
|
|
|
@ -244,7 +244,6 @@ ynh_psql_remove_db() {
|
|||
|
||||
local psql_root_password=$(sudo cat $PSQL_ROOT_PWD_FILE)
|
||||
if ynh_psql_database_exists --database=$db_name; then # Check if the database exists
|
||||
ynh_print_info --message="Removing database $db_name"
|
||||
ynh_psql_drop_db $db_name # Remove the database
|
||||
else
|
||||
ynh_print_warn --message="Database $db_name not found"
|
||||
|
@ -252,7 +251,6 @@ ynh_psql_remove_db() {
|
|||
|
||||
# Remove psql user if it exists
|
||||
if ynh_psql_user_exists --user=$db_user; then
|
||||
ynh_print_info --message="Removing user $db_user"
|
||||
ynh_psql_drop_user $db_user
|
||||
else
|
||||
ynh_print_warn --message="User $db_user not found"
|
||||
|
|
|
@ -120,8 +120,6 @@ ynh_systemd_action() {
|
|||
fi
|
||||
fi
|
||||
|
||||
ynh_print_info --message="${action^} the service $service_name"
|
||||
|
||||
# Use reload-or-restart instead of reload. So it wouldn't fail if the service isn't running.
|
||||
if [ "$action" == "reload" ]; then
|
||||
action="reload-or-restart"
|
||||
|
|
|
@ -145,7 +145,6 @@ ynh_system_user_delete () {
|
|||
# Check if the user exists on the system
|
||||
if ynh_system_user_exists "$username"
|
||||
then
|
||||
ynh_print_info --message="Remove the user $username"
|
||||
deluser $username
|
||||
else
|
||||
ynh_print_warn --message="The user $username was not found"
|
||||
|
@ -154,7 +153,6 @@ ynh_system_user_delete () {
|
|||
# Check if the group exists on the system
|
||||
if ynh_system_group_exists "$username"
|
||||
then
|
||||
ynh_print_info --message="Remove the group $username"
|
||||
delgroup $username
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue