File: preinst

package info (click to toggle)
cron 3.0pl1-45
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 324 kB
  • ctags: 339
  • sloc: ansic: 3,128; sh: 158; makefile: 91
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