1 2 3 4 5 6 7 8 9
post_install() { if [ ! -d /var/run/tinyproxy ]; then install -dm0770 -o nobody -g nobody /var/run/tinyproxy fi } post_upgrade() { post_install "$@" }