File: postinst

package info (click to toggle)
lwatch 0.6.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 884 kB
  • sloc: sh: 4,420; ansic: 1,079; lex: 357; makefile: 57; lisp: 44
file content (25 lines) | stat: -rw-r--r-- 493 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
#!/bin/sh
# postinst script for lwatch

set -e

case "$1" in
    configure)
        if [ ! -p /var/lib/lwatch/syslog.fifo ]; then
    	    mkfifo /var/lib/lwatch/syslog.fifo
        fi
        ;;
    abort-upgrade|abort-remove|abort-deconfigure|removing)
        ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
        ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0