1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
post_install() { mkdir -p /data/srv/hobbit/client/logs mkdir -p /data/srv/hobbit/client/tmp chown -R nobody /data/srv/hobbit # chown -R nobody /data/srv/httpd/htdocs/hobbit # chown -R nobody /var/log/hobbit } post_upgrade() { post_install $1 } op=$1 shift $op $* # vim: ft=sh ts=2