File: postrm

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

if [ "$1" = "purge" ];
then
    if [ -e /boot/grub/grub.cfg ] && which update-grub >/dev/null 2>&1; then
      update-grub || true
    fi
fi

#DEBHELPER#