updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / grub-legacy-fedora-git / grub-legacy-fedora-git.install
blobcf5574331f41808dc38fe255e97d6ab83a2b0e06
1 infodir="/usr/share/info"
2 filelist=('grub.info' 'multiboot.info')
4 post_install() {
5         
6         [ -x "/usr/bin/install-info" ] || return 0
7         
8         for file in ${filelist[@]}
9         do
10                 install-info "${infodir}/${file}.gz" "${infodir}/dir" 2> /dev/null
11         done
12         
13         cat << EOF
15 Important Info :-
17 This is not GRUB2. It is Fedora's grub-legacy fork compiled for BIOS systems with GPT Patches from Intel.
18 It includes support for reading ext4 filesystem.
19 This package does not include any of the patches used in Archlinux Official GRUB package.
21 The menu config file is /boot/grub/grub.conf, not /boot/grub/menu.lst .
23 The syntax for splashimage is (for example) :-
24         
25         splashimage (hd0,0)/boot/grub/image.xpm.gz
26         
28 For further info on splashimage usage see https://forums.fedoraforum.org/showthread.php?t=1243 .
30 You can also generate a working splashimage xpm.gz file using :-
31         
32         convert -resize 640x480 -colors 14 image.jpg image.xpm && gzip image.xpm
33         
35 EOF
36         
39 post_upgrade() {
40         
41         post_install "${1}"
42         
45 pre_remove() {
46         
47         [ -x "/usr/bin/install-info" ] || return 0
48         
49         for file in ${filelist[@]}
50         do
51                 install-info --delete "${infodir}/${file}.gz" "${infodir}/dir" 2> /dev/null
52         done
53