2015-04-14 17:23:36 +02:00
|
|
|
# INSTALL
|
|
|
|
case "$ACTION" in
|
|
|
|
post)
|
2015-04-14 21:37:56 +02:00
|
|
|
if [ "$UPDATE" != "yes" ]; then
|
2015-04-14 17:23:36 +02:00
|
|
|
# actions to execute if package is being installed.
|
2017-07-13 11:05:36 +02:00
|
|
|
mkdir -p var/log/apache-storm
|
|
|
|
chown -R storm:storm var/lib/apache-storm var/log/apache-storm
|
2015-04-14 17:23:36 +02:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|