Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed SolusOS detection

  • Loading branch information...
commit 27eaae3871f9d0c7b20aefb3deb61a47ba670268 1 parent 041fa85
Brett Bohnenkamper authored
Showing with 19 additions and 2 deletions.
  1. +15 −0 CHANGELOG
  2. +4 −2 screenfetch-dev
View
15 CHANGELOG
@@ -3,6 +3,21 @@
changelog
**** **** **** ****
+########## v2.3.9 ###########
+ - Fixed SolusOS detection.
+ - Added MATE detection, theme detection possibly not working yet. Fixed WindowMaker detection.
+ - Getting a DEB out! \o/
+
+
+########### v2.3.8 ###########
+ - Changed to relying on /proc/sys/kernel/hostname for hostname now instead of the `hostname`.
+ - Added tentative support for monsterwm and dminiwm.
+###############################
+
+#################
+Crap, I didn't update this....
+#################
+
v2.1.3 (HOLY SHIT BIG CHANGES)
- Added shitload of new features. Keep reading.
View
6 screenfetch-dev
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# screenFetch (v2.3.8)
+# screenFetch (v2.3.9)
#
# Script to fetch system and theme settings for screenshots in most mainstream
# Linux distributions.
@@ -17,7 +17,7 @@
# to put forth suggestions/ideas. Thank you.
#
-scriptVersion="2.3.8"
+scriptVersion="2.3.9"
######################
# Settings for fetcher
@@ -218,6 +218,7 @@ detectdistro () {
distro_detect=$(lsb_release -i | sed -e 's/Distributor ID://' -e 's/\t//g')
if [ "$distro_detect" == "Arch" ]; then distro="Arch Linux"; fi
if [ "$distro_detect" == "Debian" ]; then distro="Debian"; fi
+ if [ "$distro_detect" == "SolusOS" ]; then distro="SolusOS"; fi
if [ "$distro_detect" == "LinuxMint" ]; then distro="Mint"
if [ "$(lsb_release -c | sed -e 's/Codename://' -e 's/\t//g')" == "debian" ]; then
distro="LMDE"
@@ -271,6 +272,7 @@ detectdistro () {
else
if [ -f /etc/debian_version ]; then distro="Debian"; fi
if grep -i ubuntu /etc/lsb-release >/dev/null 2>&1; then distro="Ubuntu"; fi
+ if grep -i SolusOS /etc/issue >/dev/null 2>&1; then distro="SolusOS"; fi
if grep -i mint /etc/lsb-release >/dev/null 2>&1; then
if grep -i debian /etc/lsb-release >/dev/null 2>&1; then distro="LMDE"
else distro="Mint"; fi
Please sign in to comment.
Something went wrong with that request. Please try again.