File: postinst

package info (click to toggle)
sing 1.1-13etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 2,480 kB
  • ctags: 2,092
  • sloc: ansic: 20,745; sh: 4,857; makefile: 718; yacc: 234; lex: 203
file content (19 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

RET="false"
sing_mode="0755"

if [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_get sing/suid_or_not
fi

if [ "$RET" = "true" ]; then
	sing_mode="4755"
fi

chmod $sing_mode /usr/bin/sing

#DEBHELPER#

exit 0