Skip to content

Commit

Permalink
Fix datatype lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 12, 2017
1 parent 90929a1 commit 1016858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/services/MispSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class MispSrv(
"mutex" "other",
"target-user" "other",
"target-email" "mail",
"target-machine" "hostname",
"target-machine" "fqdn",
"target-org" "other",
"target-location" "other",
"target-external" "other",
Expand Down
7 changes: 3 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ mappings in packageBin in Assets ++= frontendFiles.value
// Install files //
mappings in Universal ~= {
_.flatMap {
case (file, "conf/application.conf") => Nil
case (_, "conf/application.conf") => Nil
case (file, "conf/apllication.sample") => Seq(file -> "conf/application.conf")
case (file, "conf/logback.xml") => Nil
case (_, "conf/logback.xml") => Nil
case other => Seq(other)
} ++ Seq(
file("package/cortex.service") -> "package/cortex.service",
Expand All @@ -54,7 +54,7 @@ packageDescription := """--""".stripMargin
defaultLinuxInstallLocation := "/opt"
linuxPackageMappings ~= { _.map { pm =>
val mappings = pm.mappings.filterNot {
case (file, path) => path.startsWith("/opt/cortex/package") || path.startsWith("/opt/cortex/conf")
case (_, path) => path.startsWith("/opt/cortex/package") || path.startsWith("/opt/cortex/conf")
}
com.typesafe.sbt.packager.linux.LinuxPackageMapping(mappings, pm.fileData).withConfig()
} :+ packageMapping(
Expand Down Expand Up @@ -139,7 +139,6 @@ publish := {

// Scalariform //
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys

ScalariformKeys.preferences in ThisBuild := ScalariformKeys.preferences.value
Expand Down

0 comments on commit 1016858

Please sign in to comment.