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

Fixes and improvements for usability. #78

Merged
merged 5 commits into from
Nov 20, 2013

Conversation

jsuereth
Copy link
Member

  • Fixes Specify location where RPM installs files #74 - Configure default location where a package is installed.
  • Improve error messages for missing rpm fields (a common error when starting)
  • Swap default directory for "template" debian directories to be the generic tmp directory.
  • Add some notes about the code for other contributors.

Quick review on files from @muuki88 on the template change.

jsuereth added a commit that referenced this pull request Nov 20, 2013
Fixes and improvements for usability.
@jsuereth jsuereth merged commit f1cc833 into master Nov 20, 2013
@jsuereth jsuereth deleted the configure-default-user-and-dir branch November 20, 2013 14:25
@@ -34,7 +34,7 @@ trait LinuxPlugin extends Plugin {
* @param dir - use some directory, e.g. target.value
* @param files
*/
def packageTemplateMapping(dir: File, files: String*) = LinuxPackageMapping(files map ((dir, _)))
def packageTemplateMapping(files: String*)(dir: File = new File(sys.props("java.io.tmpdir"))) = LinuxPackageMapping(files map ((dir, _)))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks a lot better :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Specify location where RPM installs files
2 participants