Some SlackBuild scripts for Slackware.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
342 B

#!/bin/sh
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database ./usr/share/applications >/dev/null 2>&1
fi
# Restrict use of dumpcap to members of the netdev group
chgrp netdev usr/bin/dumpcap
chmod 750 usr/bin/dumpcap
# Give dumpcat network privileges
setcap cap_net_raw,cap_net_admin+eip usr/bin/dumpcap