Reputation: 31
I am trying to build a Debian package using sbt-native-packager as described in this build.sbt.
I set appName
using
val appName = "megamgateway"
All works well. It is just that the contents are stored in /usr/share/megamgateway
.
I'd like to have the contents under /usr/share/megam/gateway
.
The only way I could find is to use
linuxPackageMapping
as shown here.
Before following along, I'd like to know about other approaches.
Upvotes: 1
Views: 221
Reputation: 1088
You could try to add to your project settings
name := "gateway"
defaultLinuxInstallLocation := "/usr/share/megam/"
Upvotes: 1