summarylogtreecommitdiffstats
path: root/shadowsocks-libev.install
blob: d6088f841840cd6c9951788f6315b9fb917b3536 (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
	setcap cap_net_bind_service+ep usr/bin/ss-local  2>/dev/null
	setcap cap_net_bind_service+ep usr/bin/ss-server 2>/dev/null
	setcap cap_net_bind_service+ep usr/bin/ss-tunnel 2>/dev/null
	setcap cap_net_bind_service,cap_net_admin+ep usr/bin/ss-redir  2>/dev/null
}

post_upgrade() {
	post_install "$1"
}