Create postinst

This commit is contained in:
ferrreo 2023-08-30 19:48:55 +01:00 committed by GitHub
parent e961b28ae0
commit 9a28b997cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
debian/postinst vendored Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
cp -f /usr/sbin/update-initramfs /usr/sbin/update-initramfs-legacy
cp -f /usr/lib/booster/update-initramfs /usr/sbin/update-initramfs
chmod +x /usr/sbin/update-initramfs
update-initramfs -c -k all
rm /boot/initrd.img*