From d3c2911ad9b36eea7a96c1b95cfce5ed5bef94c8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 14 Apr 2015 21:37:56 +0200 Subject: [PATCH] apache-storm: simplify INSTALL; remove useless/redundant stuff. --- srcpkgs/apache-storm/INSTALL | 9 +-------- srcpkgs/apache-storm/template | 4 +--- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/srcpkgs/apache-storm/INSTALL b/srcpkgs/apache-storm/INSTALL index c2dc14c9a6..453c89e233 100644 --- a/srcpkgs/apache-storm/INSTALL +++ b/srcpkgs/apache-storm/INSTALL @@ -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 diff --git a/srcpkgs/apache-storm/template b/srcpkgs/apache-storm/template index ef3458242a..cbcf756f78 100644 --- a/srcpkgs/apache-storm/template +++ b/srcpkgs/apache-storm/template @@ -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"