1 2 3 4 5 6 7 8 9 10 11 12
post_install() { cp -n /etc/webapps/z-push/config.example.php /etc/webapps/z-push/config.php if [[ ! -e /var/lib/z-push ]]; then mkdir -p /var/lib/z-push chown -R http:http /var/lib/z-push fi chown -R http:http /var/log/z-push }