File: anacron.preinst

package info (click to toggle)
anacron 2.3-36
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 416 kB
  • sloc: ansic: 2,738; makefile: 126; sh: 65
file content (10 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -e

if dpkg --compare-versions "$2" lt-nl 2.3-24; then
	deb-systemd-helper purge anacron-resume.service >/dev/null
	deb-systemd-helper unmask anacron-resume.service >/dev/null
fi

#DEBHELPER#