I think no. I forgot about 2.9. Excuse me, I'll fix

-- 
Regards, Alexey
On Dec 18, 2013 9:17 PM, "Muki" <notifications@github.com> wrote:

> In
> src/main/scala/com/typesafe/sbt/packager/archetypes/JavaServerApplication.scala:
>
> > @@ -62,9 +62,13 @@ object JavaServerAppPackaging {
> >              s <- script.toSeq
> >            } yield LinuxPackageMapping(Seq(s -> path)).withPerms(permissions)
> >          },
> > -      // TODO the /var/log should be generalized like defaultLinuxInstallLocation
> > -      linuxPackageMappings in Debian <+= (normalizedName) map {
> > -        name => packageTemplateMapping("/var/log/" + name)()
> > +      // TODO should we specify daemonGroup in configs?
> > +      linuxPackageMappings in Debian <+= (normalizedName, defaultLinuxLogsLocation, target in Debian, daemonUser in Debian) map {
> > +        (name, logsDir, target, user) =>
> > +          // create empty var/log directory
> > +          val d = target / logsDir
> > +          d.mkdirs()
> > +          LinuxPackageMapping(Seq(d -> s"$logsDir/$name"), LinuxFileMetaData(user, user))
>
> Does string interpolation work in this build? On my system the build is
> set to scala 2.9.x?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sbt/sbt-native-packager/pull/111/files#r8438638>
> .
>