File: cron.postinst

package info (click to toggle)
cron 3.0pl1-197
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,816 kB
  • sloc: ansic: 54,879; xml: 1,600; perl: 733; sh: 463; makefile: 446; python: 43
file content (13 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

action="$1"

if [ "$action" = configure ]; then
    # Fixup crontab binary for new group 'crontab'.
    if ! dpkg-statoverride --list /usr/bin/crontab > /dev/null ; then
	dpkg-statoverride --update --add root crontab 2755 /usr/bin/crontab
    fi
fi

#DEBHELPER#