summaryrefslogtreecommitdiffstats
path: root/debian/initramfs-tools-core.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:43:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:43:00 +0000
commit6032561e9b12b99fa51b4b38bdeee7f831adcaee (patch)
tree30d9958682cf814635ba3fcfe6457463fed91383 /debian/initramfs-tools-core.postinst
parentAdding upstream version 0.143. (diff)
downloadinitramfs-tools-debian/0.143.tar.xz
initramfs-tools-debian/0.143.zip
Adding debian version 0.143.debian/0.143debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/initramfs-tools-core.postinst')
-rw-r--r--debian/initramfs-tools-core.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/initramfs-tools-core.postinst b/debian/initramfs-tools-core.postinst
new file mode 100644
index 0000000..b78f279
--- /dev/null
+++ b/debian/initramfs-tools-core.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ ! -e /etc/initramfs-tools/modules ]; then
+ sed '/^###/d' /usr/share/initramfs-tools/modules \
+ > /etc/initramfs-tools/modules
+fi
+
+#DEBHELPER#