diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-20 10:23:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-20 10:26:14 +0000 |
commit | 82f177ae51239a65c9eded4055258731185480f2 (patch) | |
tree | 24c1309e249d3f16b5f3a836751895c1d3f82832 /debian/progress-linux-container.postrm | |
parent | Applying patch from Helmut Grohne <helmut@subdivi.de> to duplicate diversion ... (diff) | |
download | progress-linux-metapackages-82f177ae51239a65c9eded4055258731185480f2.tar.xz progress-linux-metapackages-82f177ae51239a65c9eded4055258731185480f2.zip |
Cosmetically harmonizing diversion handling in bfh-container maintainer scripts for better readability.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/progress-linux-container.postrm')
-rwxr-xr-x | debian/progress-linux-container.postrm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/progress-linux-container.postrm b/debian/progress-linux-container.postrm index f992a6c..effe465 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.usr-is-merged" "/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 halt poweroff reboot shutdown coldreboot pm-hibernate pm-suspend pm-suspend-hybrid do - dpkg-divert --package progress-linux-container --quiet --remove --rename --divert "/usr/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 ;; |