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"
in project/Build.scala .
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.
You could try to add to your project settings
name := "gateway"
defaultLinuxInstallLocation := "/usr/share/megam/"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.