2015-04-14 15:23:36 +00:00
|
|
|
# INSTALL
|
|
|
|
case "$ACTION" in
|
|
|
|
post)
|
2015-04-14 19:37:56 +00:00
|
|
|
if [ "$UPDATE" != "yes" ]; then
|
2015-04-14 15:23:36 +00:00
|
|
|
# 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
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|