File: postinst

package info (click to toggle)
im 1%3A100-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,028 kB
  • ctags: 305
  • sloc: perl: 7,272; sh: 1,719; makefile: 111
file content (15 lines) | stat: -rw-r--r-- 328 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

echo -n "Do you use RPOP protocol? (y/N): "
read yes
if [ "$yes" = "y" -o "$yes" = "Y" ]; then
  if [ -e /etc/suid.conf -a -x /usr/sbin/suidregister ]; then
        suidregister -s im /usr/bin/imget root root 4555
  else
        chown root.root /usr/bin/imget
        chmod 4555 /usr/bin/imget
  fi
fi

#DEBHELPER#