10 lines
163 B
Bash
10 lines
163 B
Bash
#!/bin/sh -e
|
|
set -e
|
|
|
|
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
|
|
if which update-grub2 > /dev/null ; then
|
|
update-grub2 || true
|
|
fi
|
|
fi
|
|
|