2 filelist=(grub.info grub-dev.info)
5 if [ -f /boot/grub/grub.cfg.pacsave ]; then
6 echo "Copying /boot/grub/grub.cfg.pacsave to /boot/grub/grub.cfg"
7 install -Dm644 /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg
10 echo -n "Generating grub.cfg.example config file... "
11 grub-mkconfig -o /boot/grub/grub.cfg.example 2> /dev/null
14 for file in ${filelist[@]}; do
15 install-info $infodir/$file.gz $infodir/dir 2> /dev/null
20 for file in ${filelist[@]}; do
21 install-info $infodir/$file.gz $infodir/dir 2> /dev/null
26 for file in ${filelist[@]}; do
27 install-info --delete $infodir/$file $infodir/dir 2> /dev/null