File: postinst

package info (click to toggle)
netdiag 0.7-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,464 kB
  • ctags: 1,261
  • sloc: ansic: 12,948; makefile: 288; awk: 130; sh: 71
file content (13 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

# Run suidregister if user has used diagperm
if [ -f /etc/suid.conf ]; then
	if grep -q /usr/sbin/statnet /etc/suid.conf; then
		echo "Updating permissions according to /etc/suid.conf"
		suidregister
	fi
fi

#DEBHELPER#