File: postinst

package info (click to toggle)
post-faq 0.10-13
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 172 kB
  • ctags: 26
  • sloc: perl: 313; makefile: 43; sh: 26; awk: 7
file content (15 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule

if [ "$1" = configure ]
then
    db_get shared/news/server

    # Write the anser to /etc/news/server:
    echo "$RET" > /etc/news/server
    chmod 644 /etc/news/server
fi

#DEBHELPER#