-
Notifications
You must be signed in to change notification settings - Fork 443
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
FIX #405: Script replacements doesn't work with jdeb packaging #406
Conversation
controlScripts foreach { case (file, script) => IO.copyFile(file, controlDir / script) } | ||
for ((file, name) <- controlScripts) { | ||
val targetFile = controlDir / name | ||
copyAndFixPerms(file, targetFile, LinuxFileMetaData()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use this as windows will not work as chmod is used.
You have to implement the subset of this function yourself ( in Java 7 we can remove
a lot of this clunky code )
I forgot about win( I'll try to fix a bit later. |
No problem :) you are super fast anyway |
Is it fine to override this functions and just remove chmod invocation? JDeb will fix perms on its side. |
Exactly. I wouldn't override, but create a new function. |
087840f
to
9974c1f
Compare
Smooth. Let's wait for travis and then this should be good to go. |
It'll be nice since I've updated one of my projects build to 1.0.0 and native packaging is really slow :( |
FIX #405: Script replacements doesn't work with jdeb packaging
No description provided.