Quick fix for generating RPMs with owned directory for /usr/share/sbt

This commit is contained in:
Josh Suereth 2012-02-02 13:03:52 -05:00
parent 65a9ac32df
commit 531f728ac5
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ object Packaging {
a build tool for Scala software, also called SBT.""",
linuxPackageMappings <+= (sourceDirectory in Linux) map { bd =>
(packageMapping((bd / "sbt") -> "/usr/bin/sbt",
bd -> "/usr/share/sbt",
(bd / "sbt-launch-lib.bash") -> "/usr/share/sbt/sbt-launch-lib.bash")
withUser "root" withGroup "root" withPerms "0755")
},