adaptation to trixie and excalibur
This commit is contained in:
@@ -73,9 +73,9 @@ showinfo()
|
||||
local figopt="-f ansi_shadow"
|
||||
fi
|
||||
if [[ -n $figopt ]]; then
|
||||
figlet -k "$figopt" "$(hostname)"
|
||||
figlet -k $figopt $(hostname)
|
||||
else
|
||||
figlet "$(hostname)"
|
||||
figlet $(hostname)
|
||||
fi
|
||||
else
|
||||
hostname -f
|
||||
@@ -83,6 +83,8 @@ showinfo()
|
||||
echo ""
|
||||
if command -v neofetch >/dev/null 2>&1; then
|
||||
neofetch
|
||||
elif command -v fastfetch >/dev/null 2>&1; then
|
||||
fastfetch
|
||||
else
|
||||
(
|
||||
if [[ -s /etc/os-release ]]; then
|
||||
|
||||
Reference in New Issue
Block a user