File: rcconf.postinst

package info (click to toggle)
rcconf 2.5
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 96 kB
  • ctags: 34
  • sloc: perl: 949; makefile: 46; sh: 31
file content (19 lines) | stat: -rwxr-xr-x 344 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
#
# This is the postinst script for the Debian GNU/Linux rcconf package
# Written by Atsushi Kamoshida <kamop@debian.org>
#

set -e

case "$1" in
    configure)
        if [ -f /usr/sbin/rcconf ] && [ ! -f /usr/bin/rcconf ]; then
            ln -s /usr/sbin/rcconf /usr/bin/rcconf
        fi
        ;;
    *)
        ;;
esac

exit 0