summaryrefslogtreecommitdiffstats
path: root/debian/hyperv-daemons.preinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:18:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:18:13 +0000
commit225809f918c2f2c9c831ea16ddb9b81485af5f34 (patch)
tree5332d51631f39fc96804d8001996f028bbbbdf54 /debian/hyperv-daemons.preinst
parentMerging upstream version 6.10.3. (diff)
downloadlinux-225809f918c2f2c9c831ea16ddb9b81485af5f34.tar.xz
linux-225809f918c2f2c9c831ea16ddb9b81485af5f34.zip
Merging debian version 6.10.3-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/hyperv-daemons.preinst')
-rw-r--r--debian/hyperv-daemons.preinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/hyperv-daemons.preinst b/debian/hyperv-daemons.preinst
index 5810d29468..fc13e5116c 100644
--- a/debian/hyperv-daemons.preinst
+++ b/debian/hyperv-daemons.preinst
@@ -2,7 +2,11 @@
set -e
if [ "$1" = "upgrade" ]; then
- for i in fcopy kvp vss; do
+ services='kvp vss'
+ if dpkg --compare-versions "$2" lt 6.10~rc6-1~exp1; then
+ services="fcopy $services"
+ fi
+ for i in $services; do
if [ -d /run/systemd/system ]; then
systemctl stop hyperv-daemons.hv-$i-daemon.service 2>/dev/null || true
fi