void-packages/srcpkgs/mkinitcpio/files/kernel-hook-postrm

11 lines
180 B
Bash

#!/bin/sh
#
# Kernel post-remove hook for mkinitcpio.
#
# Arguments passed to this script: $1 pkgname, $2 version.
#
PKGNAME="$1"
VERSION="$2"
rm -f boot/initramfs-${VERSION}.img