Coder Social home page Coder Social logo

Comments (3)

deadhead420 avatar deadhead420 commented on May 23, 2024 1

I know what you're talking about.. Its like that for most of the timezones. America is the same way. If you select america again it goes back to the first list. The reason for this is because to create the list of timezones I use the "find" command to list all the directories under /usr/share/zoneinfo/. Some of the directories like for example america and brazil contain symlinks back to themselves for whatever reason... So pretty much what is happening is my find command sees that symlink and displays it in the list of timezones. When you select this it simply symlinks you back to the top /usr/share/zoneinfo directory (from /usr/share/zoneinfo/Brazil) symlink: /usr/share/zoneinfo/Brazil > /usr/share/zoneinfo/Brazil/Brazil. Not a very big bug because it is doing what it should simply symlinking back, however I see how it could come off as a bug. I'll look into a way around it... I think I already know what i can do... When "Brazil" is first selected it sets a variable ZONE=Brazil then jumps into the result of the find command on the brazil dir. I could simply pipe sed to exclude $ZONE then the symlink wont be listed in the find command... Will fix it up in a bit. Haven't had much time to work on arch anywhere lately but want to try and get an update out by the weekend

from installer.

oscarholst avatar oscarholst commented on May 23, 2024

I see..My bad... My first thought was "OMG A BUG!", but it's just doing what it should, as you said.
However, awesome if it's possible to fix!

from installer.

deadhead420 avatar deadhead420 commented on May 23, 2024

Got it all taken care of.... Was as simple as adding ' | grep -v "$ZONE" ' to the command. The symlinks no longer show in the timezone menus. Fix will be in the next release 2.2.0. I'm finishing testing now and will release in just a few hours. All issues have been resolved

from installer.

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.