blob: 4ccd6473066338e012e64c03f575f55bebf81bab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
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.'
fi
}
post_upgrade() {
post_install $1
}
pre_remove() {
echo "Leftover files may reside in /var/{lib,tmp,log}/tomcat9"
echo "If you remove them, you may also want to remove user and group 'tomcat9'"
}
|