mirror of
https://git.proxmox.com/git/systemd
synced 2025-12-28 04:53:55 +00:00
13 lines
260 B
Bash
13 lines
260 B
Bash
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = remove ] || [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 25-1; then
|
|
dpkg-divert --remove --package systemd --rename \
|
|
--divert /lib/lsb/init-functions.systemd /lib/lsb/init-functions
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|