File: postinst

package info (click to toggle)
pdsh 2.36-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,436 kB
  • sloc: ansic: 12,474; sh: 3,196; makefile: 402; perl: 163
file content (18 lines) | stat: -rw-r--r-- 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

# Get setuid root answer
db_get pdsh/setuidroot

if [ "$RET" = "true" ]; then
   chmod 4755 /usr/bin/pdsh.bin
else
   chmod 0755 /usr/bin/pdsh.bin
fi

#DEBHELPER#

exit 0;