File: libgnomesu0.postinst

package info (click to toggle)
libgnomesu 1.0.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,428 kB
  • ctags: 383
  • sloc: sh: 8,123; ansic: 2,706; makefile: 179
file content (15 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

#DEBHELPER#

if [ "$1" = "configure" ]; then
    for file in gnomesu-backend gnomesu-pam-backend; do
	if ! dpkg-statoverride --list /usr/lib/libgnomesu/${file} \
	    >/dev/null; then
	    dpkg-statoverride --update --add root root 4755 \
		/usr/lib/libgnomesu/${file}
	fi
    done
fi