mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-09 12:00:26 +00:00
16 lines
252 B
Plaintext
Executable File
16 lines
252 B
Plaintext
Executable File
post_install() {
|
|
if [ $(type -p mkinitramfs) ]; then
|
|
kernver=$(file /boot/vmlinuz-venom | cut -d ' ' -f9)
|
|
mkinitramfs -k $kernver -o /boot/initrd-venom.img
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|
|
|
|
post_remove() {
|
|
rm -f /boot/initrd-venom.img
|
|
}
|
|
|