summaryrefslogtreecommitdiffstats
path: root/debian/progress-linux-container.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-20 10:17:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-20 10:17:58 +0000
commiteee12802806584d9d501cd525dcd8fef561e6c6c (patch)
tree6ae25c78a6cbd03a2e53f5e3d9c3dc8fc9b679de /debian/progress-linux-container.postrm
parentReleasing debian version 20221002-10. (diff)
downloadprogress-linux-metapackages-eee12802806584d9d501cd525dcd8fef561e6c6c.tar.xz
progress-linux-metapackages-eee12802806584d9d501cd525dcd8fef561e6c6c.zip
Applying patch from Helmut Grohne <helmut@subdivi.de> to duplicate diversion via DEP17 M18 (Closes: #1055511).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/progress-linux-container.postrm')
-rwxr-xr-xdebian/progress-linux-container.postrm6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/progress-linux-container.postrm b/debian/progress-linux-container.postrm
index 28fccd2..f992a6c 100755
--- a/debian/progress-linux-container.postrm
+++ b/debian/progress-linux-container.postrm
@@ -6,12 +6,12 @@ case "${1}" in
remove)
for FILE in halt poweroff reboot shutdown coldreboot
do
- dpkg-divert --package progress-linux-container --quiet --remove --rename --divert /lib/container/divert/${FILE}.orig /sbin/${FILE}
+ dpkg-divert --package progress-linux-container --quiet --remove --rename --divert "/lib/container/divert/$FILE.orig.usr-is-merged" "/sbin/$FILE"
done
- for FILE in pm-hibernate pm-suspend pm-suspend-hybrid
+ for FILE in halt poweroff reboot shutdown coldreboot pm-hibernate pm-suspend pm-suspend-hybrid
do
- dpkg-divert --package progress-linux-container --quiet --remove --rename --divert /lib/container/divert/${FILE}.orig /usr/sbin/${FILE}
+ dpkg-divert --package progress-linux-container --quiet --remove --rename --divert "/usr/lib/container/divert/$FILE.orig" "/usr/sbin/$FILE"
done
;;