File: postinst

package info (click to toggle)
lpkg 19980629-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 64 kB
  • ctags: 31
  • sloc: ansic: 268; makefile: 54; sh: 40
file content (28 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (2)
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
27
28
#!/bin/sh -e

# Script customized from that in the pilot-link package. Thanks!

if [ $1 != "configure" -o \( $1 = "configure" -a -n "$2" \) ]
then
    exit 0
fi

if [ ! -f /dev/newton ]
then
    if ! /usr/sbin/lpkgconfig
    then
        echo
        echo "Configuration failed!"
        echo "Run \"lpkgconfig\" to try this again later."
        echo
        exit 1
    fi
fi

cat <<EOF

Please assign any users that would use lpkg to the group 'dialout'.
lpkg can be reconfigured at any time by using the "lpkgconfig" command.
EOF

#DEBHELPER#