#!/usr/bin/env bash
# Copyright 2025 Sebastian Peters
# This script is installed by sys-boot/pw-do-grub-install

ischroot
if [[ $? != 1 ]]; then
  echo "Skip grub-install-auto because we are in CHROOTed environment"
else
  grub-install-auto
fi
