File: postrm

package info (click to toggle)
memtest86+ 5.01-3.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 1,364 kB
  • sloc: ansic: 18,486; asm: 1,805; makefile: 239; sh: 127
file content (9 lines) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

if ([ "$1" = remove ] || [ "$1" = purge ]) && \
   test -e /boot/grub/grub.cfg && which update-grub2 > /dev/null ; then
    update-grub2
fi

#DEBHELPER#