Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing debian package installation/deinstallation #60

Merged
merged 2 commits into from
Nov 3, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
initctl reload-configuration
service ${{app_name}} start
service ${{app_name}} start || echo "${{app_name}} could not be started. Try manually with service ${{app_name}} start"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
service ${{app_name}} stop
service ${{app_name}} stop || echo "${{app_name}} wasn't even running!"
3 changes: 2 additions & 1 deletion test-project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import NativePackagerKeys._

play.Project.playScalaSettings //packageArchetype.java_server
play.Project.playScalaSettings

name := "dtest"

Expand All @@ -12,6 +12,7 @@ val dtestProj = ProjectRef(buildLoc, "np")

version in dtestProj := "0.2.0"

packageArchetype.java_server

maintainer := "Josh Suereth <[email protected]>"

Expand Down
2 changes: 2 additions & 0 deletions test-project/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
resolvers += Resolver.typesafeRepo("releases")

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.6.3")
1 change: 1 addition & 0 deletions test-project/src/debian/DEBIAN/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "removed ${{name}}-${{version}} from ${{author}}"
1 change: 0 additions & 1 deletion test-project/src/debian/DEBIAN/prerm

This file was deleted.