ADD --info + tag 2.3.3

This commit is contained in:
Erreur32 2024-07-28 18:31:11 +02:00
parent 4e61409927
commit fbc9b0ee91

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# Nginx Proxy Manager CLI Script v2.3.2 # Nginx Proxy Manager CLI Script v2.3.3
# Erreur32 - July 2024 # Erreur32 - July 2024
# #
# This script allows you to manage Nginx Proxy Manager via the API. It provides # This script allows you to manage Nginx Proxy Manager via the API. It provides
@ -294,7 +294,7 @@ display_info() {
if [ -d "$BACKUP_DIR" ]; then if [ -d "$BACKUP_DIR" ]; then
backup_count=$(ls -1 "$BACKUP_DIR" | wc -l) backup_count=$(ls -1 "$BACKUP_DIR" | wc -l)
echo -e " ${COLOR_GREEN}Nb files in backup dir:${COLOR_YELLOW} $backup_count ${COLOR_RESET}" echo -e " ${COLOR_GREEN}BACKUP HOST ${COLOR_YELLOW}$backup_count ${COLOR_RESET}"
else else
echo -e " ${COLOR_RED}Backup directory does not exist.${COLOR_RESET}" echo -e " ${COLOR_RED}Backup directory does not exist.${COLOR_RESET}"
fi fi