From 23ac0d2e2b65f829da1cb32c6a4c82c8d8ff655c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 13 Feb 2024 22:09:27 +0100 Subject: [PATCH] Add debhelper tokens to postinst and postrm scripts (Lintian warning). --- debian/bcachefs-tools.postinst | 2 ++ debian/bcachefs-tools.postrm | 2 ++ debian/changelog | 1 + 3 files changed, 5 insertions(+) diff --git a/debian/bcachefs-tools.postinst b/debian/bcachefs-tools.postinst index 483b961..56dd890 100644 --- a/debian/bcachefs-tools.postinst +++ b/debian/bcachefs-tools.postinst @@ -2,6 +2,8 @@ set -e +#DEBHELPER# + case "$1" in configure) if which update-initramfs >/dev/null; then diff --git a/debian/bcachefs-tools.postrm b/debian/bcachefs-tools.postrm index 6b6fe8a..2d91336 100644 --- a/debian/bcachefs-tools.postrm +++ b/debian/bcachefs-tools.postrm @@ -2,6 +2,8 @@ set -e +#DEBHELPER# + case "$1" in remove) if which update-initramfs >/dev/null; then diff --git a/debian/changelog b/debian/changelog index 7262082..31b76bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -27,6 +27,7 @@ bcachefs-tools (1:1.6.3-0.1) UNRELEASED; urgency=medium * Add build-dependency on all relevant Rust crates, and on python3:native due to use of the Cargo wrapper. * Build-Depend on pkgconf instead of pkg-config (Lintian warning). + * Add debhelper tokens to postinst and postrm scripts (Lintian warning). -- Steinar H. Gunderson Wed, 21 Feb 2024 19:32:51 +0100 -- 2.39.2