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.
|
|
|
|
mkdir -p /var/log/apache-storm
|
|
|
|
chown -R storm:storm /var/lib/apache-storm /var/log/apache-storm
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
esac
|