Coder Social home page Coder Social logo

Comments (8)

mochimisu avatar mochimisu commented on April 26, 2024

you'll have to be a little bit careful - osx ships with posix readlink, and this script is written for osx. iirc, the posix readlink doesnt have the -f flag

on linux you'll be using gnu readlink, which is different and has the -f flag.

that's not the issue, thogh

it looks like readlink is giving you an absolute path when the script was written for a readlink that gives a relative path. this is probably because you symlinked fpp using an absolute path, which, imo, should be valid.

it wbn if the WHEREAMI resolution would respect symlinks created with absolute paths.

from pathpicker.

pcottle avatar pcottle commented on April 26, 2024

@lsmag can you see if #16 fixes this for you?

from pathpicker.

pcottle avatar pcottle commented on April 26, 2024

I think since we added the if [[ $SOURCE == /* ]]; then in #16 then this will work for both relative and absolute symlinks -- so I'm going to call this closed! @lsmag can you try pulling down 16 and then trying?

from pathpicker.

lsmag avatar lsmag commented on April 26, 2024

Yup, it worked, thanks =D

from pathpicker.

lsmag avatar lsmag commented on April 26, 2024

I uploaded the package to AUR, it can be installed using yaourt, aura or even downloading the package and calling # pacman -U <path-to-pathpicker.tar.gz>. Maybe change the README to add that?

from pathpicker.

pcottle avatar pcottle commented on April 26, 2024

@lsmag what does pacman do besides unpack the tar? does it handle symlinking and sha checks and such?

from pathpicker.

pcottle avatar pcottle commented on April 26, 2024

lets track this in #43

from pathpicker.

lsmag avatar lsmag commented on April 26, 2024

@pcottle the package I built will download fpp from git, unpack on /opt and create a symlink on /usr/bin.

from pathpicker.

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.