File: postinst

package info (click to toggle)
xconq 7.2.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,296 kB
  • ctags: 9,199
  • sloc: ansic: 107,849; sh: 2,108; perl: 2,057; makefile: 1,177; sed: 161; csh: 50; awk: 49; lisp: 39
file content (10 lines) | stat: -rw-r--r-- 284 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e
if [ -x /usr/bin/update-menus ] ; then update-menus ; fi

if [ -e /etc/suid.conf -a -x /usr/sbin/suidregister ]; then
        suidregister -s xconq /usr/games/xconq root games 2775
else
        chown root.games /usr/games/xconq
        chmod 2775 /usr/games/xconq
fi