File: postinst

package info (click to toggle)
at 3.2.5-2.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 708 kB
  • sloc: sh: 3,139; ansic: 2,620; yacc: 578; makefile: 214; lex: 92; perl: 62
file content (13 lines) | stat: -rw-r--r-- 213 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

if [ "$1" = "configure" ]; then
    SEQFILE=/var/spool/cron/atjobs/.SEQ
    if [ ! -f $SEQFILE ]; then
	echo 0 > $SEQFILE
	chmod 600 $SEQFILE
	chown daemon:daemon $SEQFILE
    fi
fi

#DEBHELPER#