Update clean.sh

tweak
This commit is contained in:
tteckster 2023-01-29 11:01:07 -05:00 committed by GitHub
parent 92f11b7660
commit c9e3b72dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ CL=$(echo "\033[m")
name=$(hostname) name=$(hostname)
clear clear
header_info header_info
echo -e "${BL}[Info]${GN} Cleaning $name${CL}" echo -e "${BL}[Info]${GN} Cleaning $name${CL} \n"
cache=$(find /var/cache/ -type f) cache=$(find /var/cache/ -type f)
if [[ -z "$cache" ]]; then if [[ -z "$cache" ]]; then
echo -e "It appears there are no cached files on your system. \n" echo -e "It appears there are no cached files on your system. \n"
@ -34,7 +34,7 @@ cache=$(find /var/cache/ -type f)
fi fi
clear clear
header_info header_info
echo -e "${BL}[Info]${GN} Cleaning $name${CL}" echo -e "${BL}[Info]${GN} Cleaning $name${CL} \n"
logs=$(find /var/log/ -type f) logs=$(find /var/log/ -type f)
if [[ -z "$logs" ]]; then if [[ -z "$logs" ]]; then
echo -e "It appears there are no logs on your system. \n" echo -e "It appears there are no logs on your system. \n"