~ubuntu-branches/debian/sid/cron/sid

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Package Import Robot
  • Author(s): Christian Kastner
  • Date: 2014-10-25 20:47:09 UTC
  • Revision ID: package-import@ubuntu.com-20141025204709-ooq4ss4tnhe0hgz1
Tags: 3.0pl1-127
Drop $READ_ENV from cron's command line. It does not belong there.
Closes: #766779

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
set -e
3
3
 
4
4
crondir="/var/spool/cron"
 
5
action="$1"
 
6
 
 
7
if [ "$action" != configure ]; then
 
8
    exit 0
 
9
fi
 
10
 
5
11
 
6
12
# LEGACY: This hasn't been relevant to Debian cron since the last Millenium,
7
13
# but we keep it here to preserve the upgrade path... 
24
30
    fi
25
31
done
26
32
 
27
 
# Conffile has become obsolete
 
33
# Conffiles that are now obsolete
28
34
dpkg-maintscript-helper rm_conffile /etc/cron.monthly/standard "3.0pl1-113" -- "$@"
 
35
dpkg-maintscript-helper rm_conffile /etc/cron.daily/standard "3.0pl1-124" -- "$@"
29
36
# If dpkg-maintscript-helper renames it instead of removing it because it has
30
37
# local modifications, we must rename it back to a valid name, or crond
31
38
# will not accept it. Thanks to Raphaël Hertzog for the tip.