From 531f728ac5a80d41f9c881cf4765a81f5cf62b55 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Thu, 2 Feb 2012 13:03:52 -0500 Subject: [PATCH] Quick fix for generating RPMs with owned directory for /usr/share/sbt --- project/packaging.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/project/packaging.scala b/project/packaging.scala index 56b98dd5b..0a1716703 100644 --- a/project/packaging.scala +++ b/project/packaging.scala @@ -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") },