1 2 3 4 5 6 7 8 9
post_install() { setcap cap_net_raw=ep usr/bin/bing 2>/dev/null || chmod +s usr/bin/ping } post_upgrade() { post_install "$1" }