1#!/bin/sh 2# postinst script for acrn-board-inspector 3# 4# see: dh_installdeb(1) 5 6set -e 7 8case "$1" in 9 configure|triggered) 10 ln -sft /etc/grub.d /var/lib/acrn-board-inspector/20_acrn-board-inspector 11 if command -v update-grub > /dev/null && [ -d /boot/grub ]; then 12 update-grub || : 13 fi 14 ;; 15 16 abort-upgrade|abort-remove|abort-deconfigure) 17 ;; 18 19 *) 20 echo "postinst called with unknown argument \`$1'" >&2 21 exit 1 22 ;; 23esac 24 25# dh_installdeb will replace this with shell code automatically 26# generated by other debhelper scripts. 27 28#DEBHELPER# 29 30exit 0 31