18 lines
425 B
Plaintext
18 lines
425 B
Plaintext
|
# 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
|
||
|
# 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
|