summarylogtreecommitdiffstats
path: root/grub-improved-luks2-git.install
blob: c13ef99c77c5d0b3c0b3dbe73caacc8aae37329b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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
}

post_install() {
  cat << 'EOM'
Generate your bootloader configuration with:
  grub-mkconfig -o /boot/grub/grub.cfg
EOM
}