booster/debian/postinst
2023-08-30 19:54:14 +01:00

10 lines
245 B
Bash

#!/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* || true