docs: update
This commit is contained in:
parent
e5a9e736a3
commit
9bc53fedde
4
pfetch
4
pfetch
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# shellcheck source=/dev/null
|
|
||||||
#
|
#
|
||||||
# pfetch - Simple POSIX sh fetch script.
|
# pfetch - Simple POSIX sh fetch script.
|
||||||
|
|
||||||
|
@ -114,6 +113,9 @@ get_title() {
|
||||||
get_distro() {
|
get_distro() {
|
||||||
case $os in
|
case $os in
|
||||||
Linux*|GNU*)
|
Linux*|GNU*)
|
||||||
|
# Disable warning about shellcheck not being able
|
||||||
|
# to read '/etc/os-release'. This is fine.
|
||||||
|
# shellcheck source=/dev/null
|
||||||
. /etc/os-release && distro=$PRETTY_NAME
|
. /etc/os-release && distro=$PRETTY_NAME
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue
Block a user