diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 16:34:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 16:34:31 +0000 |
commit | b90d28132ae929a9449caf0726003134763d2426 (patch) | |
tree | 08d4991e0274ee8cb24051fe83e1c8fd9ab759df /debian | |
parent | Releasing progress-linux version 20211009-22~progress7.99u1. (diff) | |
download | bfh-metapackages-b90d28132ae929a9449caf0726003134763d2426.tar.xz bfh-metapackages-b90d28132ae929a9449caf0726003134763d2426.zip |
Merging debian version 20211009-24.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/bfh-container.postrm | 10 | ||||
-rwxr-xr-x | debian/bfh-container.preinst | 2 | ||||
-rw-r--r-- | debian/changelog | 20 |
3 files changed, 31 insertions, 1 deletions
diff --git a/debian/bfh-container.postrm b/debian/bfh-container.postrm index 0af1095..e53463e 100755 --- a/debian/bfh-container.postrm +++ b/debian/bfh-container.postrm @@ -13,6 +13,16 @@ case "${1}" in do dpkg-divert --package bfh-container --quiet --remove --rename --divert "/usr/lib/container/divert/${FILE}.orig" "/usr/sbin/${FILE}" done + + if [ -d /usr/lib/container ] + then + if [ -d /usr/lib/container/divert ] + then + rmdir --ignore-fail-on-non-empty /usr/lib/container/divert > /dev/null 2>&1 + fi + + rmdir --ignore-fail-on-non-empty /usr/lib/container > /dev/null 2>&1 + fi ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) diff --git a/debian/bfh-container.preinst b/debian/bfh-container.preinst index ab15a9c..2a6624f 100755 --- a/debian/bfh-container.preinst +++ b/debian/bfh-container.preinst @@ -4,7 +4,7 @@ set -e case "${1}" in install|upgrade) - mkdir -p /lib/container/divert + mkdir -p /usr/lib/container/divert for FILE in halt poweroff reboot shutdown coldreboot do diff --git a/debian/changelog b/debian/changelog index 6b24939..9a973a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,23 @@ +bfh-metapackages (20211009-24) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne <helmut@subdivi.de> to delete + /usr/lib/container/divert on package removal. + * Cosmetically harmonizing directory cleanup in progress-linux + maintainer scripts for better readability. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 23 Dec 2023 08:39:55 +0100 + +bfh-metapackages (20211009-23) sid; urgency=medium + + * Uploading to sid. + * Applying patch from Helmut Grohne <helmut@subdivi.de> to delete + /usr/lib/container/divert on package removal. + * Cosmetically harmonizing directory cleanup in progress-linux + maintainer scripts for better readability. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 23 Dec 2023 08:39:41 +0100 + bfh-metapackages (20211009-22~progress7.99u1) graograman-backports; urgency=medium * Uploading to graograman-backports, remaining changes: |