mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
Update initramfs after .deb install or uninstall
Also removed the unnecessary debian/bcachefs-tools.dirs file
This commit is contained in:
parent
47bd483d27
commit
e64e781bf1
2
debian/bcachefs-tools.dirs
vendored
2
debian/bcachefs-tools.dirs
vendored
@ -1,2 +0,0 @@
|
||||
sbin/
|
||||
usr/share/man/man8/
|
12
debian/bcachefs-tools.postinst
vendored
Normal file
12
debian/bcachefs-tools.postinst
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
if which update-initramfs >/dev/null; then
|
||||
update-initramfs -u
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
12
debian/bcachefs-tools.postrm
vendored
Normal file
12
debian/bcachefs-tools.postrm
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
remove)
|
||||
if which update-initramfs >/dev/null; then
|
||||
update-initramfs -u
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user