post_install() { if ! getent group proxy &>/dev/null; then groupadd -g 15 proxy &>/dev/null fi if ! getent passwd proxy &>/dev/null; then useradd -u 15 -g proxy -d /var/empty proxy fi chown proxy.proxy var/{cache,log}/squid } post_upgrade() { post_install } post_remove() { if getent passwd proxy &>/dev/null; then userdel proxy >/dev/null fi if getent group proxy &>/dev/null; then groupdel proxy >/dev/null fi }