Code Monkey home page Code Monkey logo

Comments (4)

extrilldi avatar extrilldi commented on May 29, 2024

At line 431 starts a loop that, by line 443 should indeed mark the distro as "openSUSE", as $OSTYPE is "linux" and /etc/SuSE-release, as @mark-stewart points out, does indeed exists. Not a shell expert, so no idea why it does not work either.

But taking the result from lsb-release -sirc.
In openSUSE 12.2, the output is "SUSE LINUX 12.2 Mantis". This passes the distro detection, at line 347.
In openSUSE 12.3, the latest version, lsb_release -sirc outputs "openSUSE project 12.3 Dartmouth".
So, line 347 "should be" similar to line 354, the one with RedHat
elif [[ "${distro_detect}" == "SUSE LINUX" || "${distro_detect}" =~ "openSUSE" ]]; then

Now we get that lovely gecko in 12.3:

             .;ldkO0000Okdl;.
         .;d00xl:,'....';:ok00d;.            extrilldi@satya
       .d00l'                ,o00d.          OS: openSUSE 12.3 Dartmouth
     .d0Kd. :Okxol:;'.          :O0d.        Kernel: x86_64 Linux 3.7.10-1.1-desktop
    'OKKKK0kOKKKKKKKKKKOxo:'      lKO'       Uptime: 5d 9h 37m
   ,0KKKKKKKKKKKKKKKK0d:,,,:dx:    ;00,      Packages: 3181
  .OKKKKKKKKKKKKKKKKk..oOkdl.'0k.   cKO.     Shell: bash 4.2.42
  :KKKKKKKKKKKKKKKKK: kKx..od lKd   .OK:     Resolution: 1280x800
  dKKKKKKKKKKKOx0KKKd ;0KKKO, kKKc   dKd     DE: KDE 4.10.00
  dKKKKKKKKKKKK;.;oOKx,..'..;kKKK0.  dKd     WM: KWin
  :KKKKKKKKKKKK0o;...;cdxxOK0Oxc,.  .0K:     WM Theme: Not Found
   kKKKKKKKKKKKKKKK0xl;'......,cdo  lKk      GTK2 Theme: oxygen-gtk
   '0KKKKKKKKKKKKKKKKKKKKK00KKOo;  c00'      GTK3 Theme: Adwaita
    .kKKKOxddxkOO00000Okxoc;'.   .dKk.       Icon Theme: oxygen
      l0Ko.                    .c00l.        Font: Droid Sans
       .l0Kk:.              .;xK0l.          CPU: Genuine Intel CPU U7300 @ 1.30GHz
          ,lkK0xl:;,,,,;:ldO0kl,             RAM: 1740MB / 2946MB
              .':ldxkkkkxdl:'.

from screenfetch.

KittyKatt avatar KittyKatt commented on May 29, 2024

I believe this is fixed by b390d4d. Please test and report back.

from screenfetch.

extrilldi avatar extrilldi commented on May 29, 2024

Indeed it works now :

extrilldi@satya:~/src/github/KittyKatt/screenFetch> ./screenfetch-dev 
             .;ldkO0000Okdl;.
         .;d00xl:,'....';:ok00d;.            extrilldi@satya
       .d00l'                ,o00d.          OS: openSUSE 12.3 Dartmouth
     .d0Kd. :Okxol:;'.          :O0d.        Kernel: x86_64 Linux 3.7.10-1.1-desktop
    'OKKKK0kOKKKKKKKKKKOxo:'      lKO'       Uptime: 2d 16h 40m
   ,0KKKKKKKKKKKKKKKK0d:,,,:dx:    ;00,      Packages: 3276
  .OKKKKKKKKKKKKKKKKk..oOkdl.'0k.   cKO.     Shell: bash 4.2.42
  :KKKKKKKKKKKKKKKKK: kKx..od lKd   .OK:     Resolution: 1280x800
  dKKKKKKKKKKKOx0KKKd ;0KKKO, kKKc   dKd     DE: KDE 4.10.00
  dKKKKKKKKKKKK;.;oOKx,..'..;kKKK0.  dKd     WM: KWin
  :KKKKKKKKKKKK0o;...;cdxxOK0Oxc,.  .0K:     WM Theme: Oxygen
   kKKKKKKKKKKKKKKK0xl;'......,cdo  lKk      GTK2 Theme: Clearlooks
   '0KKKKKKKKKKKKKKKKKKKKK00KKOo;  c00'      GTK3 Theme: Adwaita
    .kKKKOxddxkOO00000Okxoc;'.   .dKk.       Icon Theme: Faenza
      l0Ko.                    .c00l.        Font: Droid Sans
       .l0Kk:.              .;xK0l.          CPU: Genuine Intel CPU U7300 @ 1.30GHz
          ,lkK0xl:;,,,,;:ldO0kl,             RAM: 1664MB / 7905MB
              .':ldxkkkkxdl:'.

from screenfetch.

KittyKatt avatar KittyKatt commented on May 29, 2024

Great! Marking closed. Thanks for reporting this!

from screenfetch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.