Added first draft of the nexus package build
[archlinuxdevstack.git] / nexus / java-nexus.install
blob7910a33f3a50e3b1091df4b7a1183889e6ce2e30
1 #!/bin/sh
2 # $Id$
3 # vim:set ts=2 sw=2 et:
5 # arg 1: the new package version
6 pre_install() {
7 /bin/true
10 # arg 1: the new package version
11 post_install() {
12 cat << EOF
13 >>>
14 >>> Sonar can now be started via /opt/sonar/bin/linux-x86-32/sonar.sh or via
15 >>> /opt/sonar/bin/linux-x86-64/sonar.sh.
16 >>> To run sonar as a service, please link the above mentioned script into the
17 >>> /etc/rc.d directory.
18 >>> Sonar will run by default using the Derby embedded database, to change this
19 >>> to another database (e.g. MySql), please edit the
20 >>> /opt/sonar/conf/sonar.properties accordingly.
21 >>> Sonar is running by default on port 9000 and is bound to all interfaces,
22 >>> you can change this in the sonar.properties as well.
23 >>> For additional information please visit http://sonar.codehaus.org
24 EOF
27 # arg 1: the new package version
28 # arg 2: the old package version
29 pre_upgrade() {
30 /bin/true
33 # arg 1: the new package version
34 # arg 2: the old package version
35 post_upgrade() {
36 /bin/true
39 # arg 1: the old package version
40 pre_remove() {
41 /bin/true
44 # arg 1: the old package version
45 post_remove() {
46 /bin/true