updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / linux-zen / linux-zen.install
blob0ffc2f4adbc15c66ff9f90ce456558bf175ba709
1 _kernel_version=3.1.8-zen-bfs-g8a4dbff
3 _r="\033[00;31m"
4 _y="\033[00;33m"
5 _g="\033[00;32m"
6 _b="\033[00;34m"
7 _B="\033[01;34m"
8 _W="\033[01;37m"
9 _n="\033[00;0m"
11 post_install() {
12         echo -e ""
13         echo -e "$_B >$_W Kernel version:$_b $_kernel_version$_n"
15         echo -e ""
16         echo -e "$_B >$_W Updating module dependencies$_n"
17         /sbin/depmod "$_kernel_version"
19         echo -e ""
20         echo -e "$_B >$_W Mkinitcpio setup"
21         echo -e "$_n   If you use LVM2, encrypted root or software RAID,"
22         echo -e "$_n   ensure you enable support in $_b/etc/mkinitcpio.d/linux-zen.conf"
23         echo -e ""
24         echo -e "$_n   More information about mkinitcpio setup can be found here:"
25         echo -e "$_b   http://wiki.archlinux.org/index.php/Mkinitcpio"
27         echo -e ""
28         echo -e "$_B >$_W Generating initial ramdisks using mkinitcpio$_n"
29         /sbin/mkinitcpio -p linux-zen
31         echo -e ""
32         echo -e "$_B >$_W Contact"
33         echo -e "$_n   If you need help with the package or have any suggestions"
34         echo -e "$_n   to improve zen-sources, feel free to join"
35         echo -e "$_b   #zen-sources$_n on$_b irc.rizon.net$_n"
36         echo -e ""
39 post_upgrade() {
40         post_install $@