File: cwcp.postinst

package info (click to toggle)
unixcw 2.3-10
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,316 kB
  • ctags: 897
  • sloc: ansic: 7,476; sh: 3,182; cpp: 1,628; makefile: 401; awk: 245
file content (15 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

#DEBHELPER#

[ "$1" = configure ] || exit 0

. /usr/share/debconf/confmodule

db_get cwcp/suid_bit

if [ "$RET" = "true" ]; then
  if !( `dpkg-statoverride --list | grep -q bin/cwcp` ); then
    /usr/sbin/dpkg-statoverride --add --update root root 4755 /usr/bin/cwcp
  fi
fi