blob: 6c5d6dcee00e49c253bc2db0227fc2e8c3aae505 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
KERNEL_NAME=-linode
export PATH='/usr/local/sbin:/usr/local/bin:/usr/bin'
post_install () {
echo ">>> Updating module dependencies. Please wait ..."
depmod ${1##*:}${KERNEL_NAME}
}
post_upgrade() {
rm -f boot/initramfs-linux${KERNEL_NAME}-fallback.img
echo ">>> Updating module dependencies. Please wait ..."
depmod ${1##*:}${KERNEL_NAME}
}
post_remove() {
rm -f boot/initramfs-linux${KERNEL_NAME}.img
rm -f boot/initramfs-linux${KERNEL_NAME}-fallback.img
}
|