summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-09 17:47:50 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-09 17:47:50 +0100
commitb4b606102d6f0bd19e02efaf0d4d10010eeb3765 (patch)
tree0127a9a816b72b869d31b0aff19363eb31543e9e
parentc4ec6223b53239882bf30d7e80d2e25f5a249833 (diff)
downloadnutyx-extra-b4b606102d6f0bd19e02efaf0d4d10010eeb3765.tar.gz
nutyx-extra-b4b606102d6f0bd19e02efaf0d4d10010eeb3765.tar.bz2
nutyx-extra-b4b606102d6f0bd19e02efaf0d4d10010eeb3765.tar.xz
nutyx-extra-b4b606102d6f0bd19e02efaf0d4d10010eeb3765.zip
tomcat, maj post-install
-rwxr-xr-xextra/tomcat/post-install (renamed from extra/tomcat/tomcat.install)21
1 files changed, 0 insertions, 21 deletions
diff --git a/extra/tomcat/tomcat.install b/extra/tomcat/post-install
index 3ed956226..be8e6e36d 100755
--- a/extra/tomcat/tomcat.install
+++ b/extra/tomcat/post-install
@@ -1,4 +1,3 @@
-post_install() {
if [ ! `grep tomcat /etc/group` ]; then
groupadd -g 66 tomcat &>/dev/null;
fi
@@ -15,23 +14,3 @@ post_install() {
echo ">>> Also, you should add it to your MODULES array in rc.conf, so"
echo ">>> it will be activated automatically at boot-up."
fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- userdel tomcat &> /dev/null
- groupdel tomcat &> /dev/null
-}
-
-post_remove() {
- /bin/true
-}
-
-op=$1
-shift
-
-$op $*
-# vim: ts=2 sw=2 et ft=sh