File: postinst

package info (click to toggle)
hardening-runtime 2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 48 kB
  • sloc: sh: 13; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

case "$1" in
  configure)
    # Update grub configuration
    if [ -e /boot/grub/grub.cfg ] && which update-grub >/dev/null 2>&1; then
      update-grub || true
    fi
    ;;
esac

#DEBHELPER#