mirror of
https://github.com/Erreur32/nginx-proxy-manager-Bash-API.git
synced 2024-12-22 13:32:11 +01:00
ADD --info + tag 2.3.3
This commit is contained in:
parent
4e61409927
commit
fbc9b0ee91
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue