Colourless if not interactive

This commit is contained in:
TNE 2022-01-23 16:58:16 +01:00
parent 883261a610
commit 8d8de27eb8
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=2.5.0 pkgver=2.5.1
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"

View File

@ -14,7 +14,7 @@ detect_dual_boot() {
fi fi
} }
inxi -Faz [ -t 0 ] && inxi -Faz || inxi -Fazc0
echo -e "\033[1;34mGaruda:\033[0m" echo -e "\033[1;34mGaruda:\033[0m"
echo -e "\033[1;34m System install date:\033[0m $(head -n1 /var/log/pacman.log | cut -d " " -f1 | cut -c 2-11)" echo -e "\033[1;34m System install date:\033[0m $(head -n1 /var/log/pacman.log | cut -d " " -f1 | cut -c 2-11)"
echo -e "\033[1;34m Last full system update:\033[0m $(date -r /var/lib/garuda/last_update +%F 2> /dev/null || echo "Unknown/Never")" echo -e "\033[1;34m Last full system update:\033[0m $(date -r /var/lib/garuda/last_update +%F 2> /dev/null || echo "Unknown/Never")"