#!/bin/bash

set -e

case $1 in
  preinst)
    exit 0
    ;;
  postinst)
    if [ ! -f ${TARGET}/etc/default/grub ]; then
      cp ${TARGET}/usr/share/grub/grub.default ${TARGET}/etc/default/grub
    fi
    ;;
  prerm)
    exit 0
    ;;
  postrm)
    exit 0
    ;;
esac
