#!/bin/sh set -e # /etc/init.d/cron symlink gets replaced with a real file on upgrade if [ "$1" = upgrade ] && [ -L /etc/init.d/cron ]; then echo "Removing obsolete /etc/init.d/cron symlink..." rm /etc/init.d/cron fi