docs: update
This commit is contained in:
parent
15777b190a
commit
aadab4e15f
6
pfetch
6
pfetch
|
@ -124,6 +124,12 @@ get_distro() {
|
||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
. /etc/os-release && distro=$PRETTY_NAME
|
. /etc/os-release && distro=$PRETTY_NAME
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
# Catch all to ensure '$distro' is never blank.
|
||||||
|
# This should also handle the BSDs, macOS etc.
|
||||||
|
distro=$os
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user