File: preinst

package info (click to toggle)
cron 3.0pl1-72
  • links: PTS
  • area: main
  • in suites: woody
  • size: 364 kB
  • ctags: 368
  • sloc: ansic: 3,357; sh: 211; makefile: 116
file content (8 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#! /bin/sh
#
# Needed because -36 and -36.1 included bad prerm scripts
#
if [ "$1" = "upgrade" -a \( "$2" = "3.0pl1-36" -o "$2" = "3.0pl1-36.1" \) ] ; then
   #kill the running cron
   start-stop-daemon --oknodo --quiet --stop --exec /usr/sbin/cron
fi