summaryrefslogtreecommitdiffstats
path: root/debian/bfh-container.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/bfh-container.postrm')
-rwxr-xr-xdebian/bfh-container.postrm6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/bfh-container.postrm b/debian/bfh-container.postrm
index ec69346..0af1095 100755
--- a/debian/bfh-container.postrm
+++ b/debian/bfh-container.postrm
@@ -6,12 +6,12 @@ case "${1}" in
remove)
for FILE in halt poweroff reboot shutdown coldreboot
do
- dpkg-divert --package bfh-container --quiet --remove --rename --divert /lib/container/divert/${FILE}.orig /sbin/${FILE}
+ dpkg-divert --package bfh-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 bfh-container --quiet --remove --rename --divert /lib/container/divert/${FILE}.orig /usr/sbin/${FILE}
+ dpkg-divert --package bfh-container --quiet --remove --rename --divert "/usr/lib/container/divert/${FILE}.orig" "/usr/sbin/${FILE}"
done
;;