Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
b95e0305
Commit
b95e0305
authored
Jul 13, 2017
by
Muhammad Herdiansyah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Distro: Put GoboLinux versioning below lsb_release
lsb_release can handle GoboLinux properly, it seems. So the fallback detection can be used if lsb_release fails.
parent
20185e51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
neofetch
neofetch
+6
-6
No files found.
neofetch
View file @
b95e0305
...
...
@@ -71,12 +71,6 @@ get_distro() {
*
)
distro
=
"
$(
lsb_release
-sd
)
on Chrome OS"
;;
esac
elif
[[
-f
"/etc/GoboLinuxVersion"
]]
;
then
case
"
$distro_shorthand
"
in
"on"
|
"tiny"
)
distro
=
"GoboLinux"
;;
*
)
distro
=
"GoboLinux
$(
< /etc/GoboLinuxVersion
)
"
esac
elif
[[
-f
"/etc/redstar-release"
]]
;
then
case
"
$distro_shorthand
"
in
"on"
|
"tiny"
)
distro
=
"Red Star OS"
;;
...
...
@@ -91,6 +85,12 @@ get_distro() {
esac
distro
=
"
$(
lsb_release
$lsb_flags
)
"
elif
[[
-f
"/etc/GoboLinuxVersion"
]]
;
then
case
"
$distro_shorthand
"
in
"on"
|
"tiny"
)
distro
=
"GoboLinux"
;;
*
)
distro
=
"GoboLinux
$(
< /etc/GoboLinuxVersion
)
"
esac
elif
type
-p
guix
>
/dev/null
;
then
case
"
$distro_shorthand
"
in
"on"
|
"tiny"
)
distro
=
"GuixSD"
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment