#!/bin/sh post_upgrade() { # We used to package /boot/grub/grub.cfg, but there is no reason to. # Remove the file from package, but move real file back in place. if [ ! -f /boot/grub/grub.cfg -a -f /boot/grub/grub.cfg.pacsave ]; then mv /boot/grub/grub.cfg.pacsave /boot/grub/grub.cfg fi # Give a hint to update installation and configuration one after another. cat < 0 )) && return if [[ -e /sys/firmware/efi/efivars ]]; then cat <