summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-16 16:34:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-16 16:34:31 +0000
commit317912297c28708263ddcb7e23da5fead11d27c1 (patch)
treef5693b9f30d3c008e2ed51cff0c5183b0abda922
parentAdding debian version 20211009-22. (diff)
downloadbfh-metapackages-317912297c28708263ddcb7e23da5fead11d27c1.tar.xz
bfh-metapackages-317912297c28708263ddcb7e23da5fead11d27c1.zip
Adding debian version 20211009-24.debian/20211009-24
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/bfh-container.postrm10
-rwxr-xr-xdebian/bfh-container.preinst2
-rw-r--r--debian/changelog20
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 d016bc1..9676430 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) experimental; urgency=medium
* Uploading to experimental.