mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/apache-tomcat: Fix packaged /var/tmp permissions.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
575b7a1120
commit
97d37ce315
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@ find -L . \
|
|||
mkdir -p $PKG/etc/tomcat $PKG/usr/share/{tomcat,java} \
|
||||
$PKG/var/{run,lib,log,tmp,spool}/tomcat
|
||||
|
||||
# required, otherwise, permissions on /var/tmp will be
|
||||
# (re)set to 755 when package is installed.
|
||||
#
|
||||
chmod 1777 $PKG/var/tmp
|
||||
|
||||
rm -f bin/*.exe bin/*.bat bin/*.tar.gz bin/commons-daemon.jar
|
||||
cp -rf bin lib $PKG/usr/share/tomcat/
|
||||
|
||||
|
|
Loading…
Reference in a new issue