1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -05:00

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>
pkgname=garuda-common-settings
pkgver=2.5.0
pkgver=2.5.1
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"

View file

@ -14,7 +14,7 @@ detect_dual_boot() {
fi
}
inxi -Faz
[ -t 0 ] && inxi -Faz || inxi -Fazc0
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 Last full system update:\033[0m $(date -r /var/lib/garuda/last_update +%F 2> /dev/null || echo "Unknown/Never")"