File: liborbit0.postinst

package info (click to toggle)
orbit 0.5.0-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,604 kB
  • ctags: 4,626
  • sloc: ansic: 37,930; sh: 7,508; yacc: 1,750; makefile: 877; lex: 366
file content (26 lines) | stat: -rw-r--r-- 384 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh
#
# Postinstall file for liborbit by Chris Waters and debconf.
#

set -e
ldconfig

#
# By default, disable tcp for orbit 
#   (most people using orbit just for Gnome will want this)
#
orbitrc=/etc/orbitrc

if [ ! -e $orbitrc ]; then
    cat >$orbitrc <<EOF
ORBIIOPUSock=1
ORBIIOPIPv4=0
ORBIIOPIPv6=0
EOF
    chown root:root $orbitrc
    chmod 644 $orbitrc
fi


#DEBHELPER#