Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.7.0-M2 - sym link in /usr/bin is wrong - points to wrong location #151

Closed
retroryan opened this issue Feb 4, 2014 · 4 comments
Closed

Comments

@retroryan
Copy link

Testing out 0.7.0-M2 and the sym link in /usr/bin is wrong. It should be:

ryan-akka -> /usr/share/ryan-akka/bin/ryan-akka

but what gets generated is:

ryan-akka -> /share/ryan-akka/bin/ryan-akka

@muuki88 muuki88 added this to the 0.7.0 - Server archetype milestone Feb 4, 2014
@muuki88
Copy link
Contributor

muuki88 commented Feb 4, 2014

Thanks for reporting. PullRequest welcome :)

@muuki88
Copy link
Contributor

muuki88 commented Feb 4, 2014

@aparkinson This seemed to be introduced by charming lintian. See facd5e3

LinuxSymlink("/usr/" + name, installLocation.stripPrefix("/usr/")+"/"+pkg+"/"+name)

@jsuereth
Copy link
Member

jsuereth commented Feb 4, 2014

Yeah, I'm still mobile. I think the strip prefix isn't robust enough. i.e. the "/" before pkg shoudl be removed and eveyrthing will probably still work.

@aparkinson
Copy link
Contributor

Damm, the elegant solution doesn't always work.

I'm presently mobile but I will investigate around the area a little further. Something is bugging me around paths but I don't know what

@muuki88 muuki88 closed this as completed in ffdd29b Feb 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants