Skip to content

Use canonicalFilePath() instead of canonicalPath()

Felipe requested to merge (removed):master into master

Hello, I'm the maintainer of the vibrantlinux-git package in the AUR. After this commit that changed the default install location to /usr/bin, Vibrant Linux doesn't start anymore:

$ vibrantLinux
Vibrant Linux is already running

That happens due to canonicalPath() returning the directory of the running binary, and not the binary itself, causing multiple conflicts, since most programs are installed to /usr/bin by default.

Merge request reports