diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-28 23:00:39 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-28 23:00:39 +0100 |
commit | 32d0f976eeebb5c5dbe5fd7954a70af669dff431 (patch) | |
tree | d42809604df2d56f50ab8e61956df14031bf60b0 /test/tomcat/tomcat.install | |
parent | 5a0c4cbe30691eeb66b1b10e3f4ed73bda00efa8 (diff) | |
download | nutyx-pakxe-32d0f976eeebb5c5dbe5fd7954a70af669dff431.tar.gz nutyx-pakxe-32d0f976eeebb5c5dbe5fd7954a70af669dff431.tar.bz2 nutyx-pakxe-32d0f976eeebb5c5dbe5fd7954a70af669dff431.tar.xz nutyx-pakxe-32d0f976eeebb5c5dbe5fd7954a70af669dff431.zip |
Ajout de tomcat#5.5.28-1
Diffstat (limited to 'test/tomcat/tomcat.install')
-rwxr-xr-x | test/tomcat/tomcat.install | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/test/tomcat/tomcat.install b/test/tomcat/tomcat.install deleted file mode 100755 index 3ed956226..000000000 --- a/test/tomcat/tomcat.install +++ /dev/null @@ -1,37 +0,0 @@ -post_install() { - if [ ! `grep tomcat /etc/group` ]; then - groupadd -g 66 tomcat &>/dev/null; - fi - - id tomcat &>/dev/null || \ - useradd -u 66 -g tomcat -d /opt/tomcat -s /bin/false tomcat - - if [ -f lib/modules/`uname -r`/kernel/security/capability.ko ]; then - echo ">>> It appears that your current kernel has linux security" - echo ">>> capabilities built as a module. tomcat requires this" - echo ">>> functionality to operate." - echo ">>>" - echo ">>> To activate the module, please load it now (modprobe capability)." - 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 |