mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
apache-storm: simplify INSTALL; remove useless/redundant stuff.
This commit is contained in:
parent
566b812f89
commit
d3c2911ad9
2 changed files with 2 additions and 11 deletions
|
@ -1,14 +1,7 @@
|
||||||
# INSTALL
|
# INSTALL
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
pre)
|
|
||||||
# Actions to execute before the package files are unpacked.
|
|
||||||
echo
|
|
||||||
;;
|
|
||||||
post)
|
post)
|
||||||
if [ "$UPDATE" = "yes" ]; then
|
if [ "$UPDATE" != "yes" ]; then
|
||||||
# actions to execute if package is being updated.
|
|
||||||
echo
|
|
||||||
else
|
|
||||||
# actions to execute if package is being installed.
|
# actions to execute if package is being installed.
|
||||||
mkdir -p /var/log/apache-storm
|
mkdir -p /var/log/apache-storm
|
||||||
chown -R storm:storm /var/lib/apache-storm /var/log/apache-storm
|
chown -R storm:storm /var/lib/apache-storm /var/log/apache-storm
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apache-storm'
|
# Template file for 'apache-storm'
|
||||||
pkgname=apache-storm
|
pkgname=apache-storm
|
||||||
version=0.9.4
|
version=0.9.4
|
||||||
revision=1
|
revision=2
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
depends="virtual?java-runtime python"
|
depends="virtual?java-runtime python"
|
||||||
short_desc="Distributed realtime computation system"
|
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"
|
distfiles="http://apache.osuosl.org/storm/apache-storm-${version}/apache-storm-${version}.tar.gz"
|
||||||
checksum=2cdb3530839375bb5f18751ff16ff78b11e9b4f6d23c423c95d78487ad92d38e
|
checksum=2cdb3530839375bb5f18751ff16ff78b11e9b4f6d23c423c95d78487ad92d38e
|
||||||
system_accounts="storm"
|
system_accounts="storm"
|
||||||
system_groups="storm"
|
|
||||||
storm_pgroup="storm"
|
|
||||||
storm_homedir="/var/lib/apache-storm"
|
storm_homedir="/var/lib/apache-storm"
|
||||||
storm_shell="/bin/bash"
|
storm_shell="/bin/bash"
|
||||||
storm_descr="unprivileged user to run apache-storm java classes"
|
storm_descr="unprivileged user to run apache-storm java classes"
|
||||||
|
|
Loading…
Add table
Reference in a new issue