apache-storm: simplify INSTALL; remove useless/redundant stuff.

This commit is contained in:
Juan RP 2015-04-14 21:37:56 +02:00
parent 566b812f89
commit d3c2911ad9
2 changed files with 2 additions and 11 deletions

View File

@ -1,14 +1,7 @@
# INSTALL
case "$ACTION" in
pre)
# Actions to execute before the package files are unpacked.
echo
;;
post)
if [ "$UPDATE" = "yes" ]; then
# actions to execute if package is being updated.
echo
else
if [ "$UPDATE" != "yes" ]; then
# actions to execute if package is being installed.
mkdir -p /var/log/apache-storm
chown -R storm:storm /var/lib/apache-storm /var/log/apache-storm

View File

@ -1,7 +1,7 @@
# Template file for 'apache-storm'
pkgname=apache-storm
version=0.9.4
revision=1
revision=2
only_for_archs="i686 x86_64"
depends="virtual?java-runtime python"
short_desc="Distributed realtime computation system"
@ -11,8 +11,6 @@ homepage="https://storm.apache.org/"
distfiles="http://apache.osuosl.org/storm/apache-storm-${version}/apache-storm-${version}.tar.gz"
checksum=2cdb3530839375bb5f18751ff16ff78b11e9b4f6d23c423c95d78487ad92d38e
system_accounts="storm"
system_groups="storm"
storm_pgroup="storm"
storm_homedir="/var/lib/apache-storm"
storm_shell="/bin/bash"
storm_descr="unprivileged user to run apache-storm java classes"