mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 11:39:53 +00:00
getdistro now runs at the start of the script with getos so we can use it in detection
This commit is contained in:
2
fetch.sh
2
fetch.sh
@@ -229,7 +229,6 @@ case "$(uname)" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# Get Distro
|
# Get Distro
|
||||||
getdistro () {
|
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux" )
|
"Linux" )
|
||||||
if type -p crux >/dev/null 2>&1; then
|
if type -p crux >/dev/null 2>&1; then
|
||||||
@@ -281,7 +280,6 @@ getdistro () {
|
|||||||
distro="Unknown"
|
distro="Unknown"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
|
||||||
|
|
||||||
# Get Title
|
# Get Title
|
||||||
gettitle () {
|
gettitle () {
|
||||||
|
|||||||
Reference in New Issue
Block a user