updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kernel26-natty-git / kernel26-natty-git.install
blob813729dd03b23738a288a9faae879f0668f2c28b
1 pkgname=kernel26-natty-git
2 kernver=2.6.38-natty-git+
4 post_install () {
5         echo ">"
6         echo "> Generating initramfs, using mkinitcpio.  Please wait..."
7         echo ">"
8         /sbin/mkinitcpio -p $pkgname
10         echo ">"
11         echo "> Updating module dependencies. Please wait ..."
12         depmod $kernver
13         if [[ -f /var/lib/ureadahead/pack ]]; then 
14                 rm /var/lib/ureadahead/pack
15                 echo "> ureadahead will be reprofiled at the next boot"
16         fi
19 post_upgrade() {
20         post_install
23 post_remove() {
24         rm -f -- "/boot/$pkgname.img"